mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-11 07:21:15 -04:00
[ 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>