mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
netlink: fix policy dump leak
[ Upstream commita95bc734e6] If userspace doesn't complete the policy dump, we leak the allocated state. Fix this. Fixes:d07dcf9aad("netlink: add infrastructure to expose policies to userspace") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
360f898746
commit
949ca6b82e
3 changed files with 20 additions and 16 deletions
Loading…
Add table
Add a link
Reference in a new issue