diff options
author | 2020-10-02 09:46:04 +0200 | |
---|---|---|
committer | 2020-10-02 13:00:38 -0700 | |
commit | a95bc734e60449e7b073ff7ff70c35083b290ae9 (patch) | |
tree | b07e2f039e791ab243a7f65f7c4758b339ee80b2 /net/socket.c | |
parent | r8169: fix data corruption issue on RTL8402 (diff) | |
download | wireguard-linux-a95bc734e60449e7b073ff7ff70c35083b290ae9.tar.xz wireguard-linux-a95bc734e60449e7b073ff7ff70c35083b290ae9.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions