Johannes Berg a95bc734e6 netlink: fix policy dump leak
If userspace doesn't complete the policy dump, we leak the
allocated state. Fix this.

Fixes: d07dcf9aadd6 ("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>
2020-10-02 13:00:38 -07:00
..
2020-08-25 07:50:25 -07:00
2020-08-27 07:55:59 -07:00
2020-10-02 13:00:38 -07:00
2020-09-09 11:14:20 -07:00
2020-09-15 13:33:04 -07:00
2020-09-24 20:06:29 -07:00
2020-08-27 07:55:59 -07:00