[PATCH] netlabel: fix our progress tracking in netlbl_unlabel_staticlist()

Jakub Kicinski kuba at kernel.org
Tue Nov 10 23:40:59 UTC 2020


On Sun, 08 Nov 2020 09:08:26 -0500 Paul Moore wrote:
> 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 at paul-moore.com>

Applied to net, thank you!



More information about the Linux-security-module-archive mailing list