]> git.baikalelectronics.ru Git - kernel.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)
commitbc920b2c2f2545b4547b7f41bf44ac29795f5886
treef1919b2e7a7c452fabf18170d1f178f6cd88d826
parentd87c1807697be6c05782f6f5bd13a48edb56989c
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