]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
nl80211: link recursive netlink nested policy
authorJohannes Berg <johannes.berg@intel.com>
Thu, 30 Apr 2020 20:13:07 +0000 (22:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 00:51:41 +0000 (17:51 -0700)
commitd15da2a2e813679aeac8bff3be38d3adc849c1a6
treef1919b2e7a7c452fabf18170d1f178f6cd88d826
parent7690aa1cdf7c4565ad6b013b324c28b685505e24
nl80211: link recursive netlink nested policy

Now that we have limited recursive policy validation to avoid
stack overflows, change nl80211 to actually link the nested
policy (linking back to itself eventually), which allows some
code cleanups.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/wireless/nl80211.c
net/wireless/nl80211.h
net/wireless/pmsr.c