summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2020-11-08 15:08:26 +0100
committerJakub Kicinski <kuba@kernel.org>2020-11-11 00:31:46 +0100
commit866358ec331f8faa394995fb4b511af1db0247c8 (patch)
tree6848a4c39e2a195761185252d65411baa862dd4e /drivers/net/ethernet
parentselftest: fix flower terse dump tests (diff)
downloadlinux-866358ec331f8faa394995fb4b511af1db0247c8.tar.xz
linux-866358ec331f8faa394995fb4b511af1db0247c8.zip
netlabel: fix our progress tracking in netlbl_unlabel_staticlist()
The current NetLabel code doesn't correctly keep track of the netlink dump state in some cases, in particular when multiple interfaces with large configurations are loaded. The problem manifests itself by not reporting the full configuration to userspace, even though it is loaded and active in the kernel. This patch fixes this by ensuring that the dump state is properly reset when necessary inside the netlbl_unlabel_staticlist() function. Fixes: 8cc44579d1bd ("NetLabel: Introduce static network labels for unlabeled connections") Signed-off-by: Paul Moore <paul@paul-moore.com> Link: https://lore.kernel.org/r/160484450633.3752.16512718263560813473.stgit@sifl Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions