]> 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)
commit8bec68372fae654e730b4c2e9fe01a31744b5586
treef1919b2e7a7c452fabf18170d1f178f6cd88d826
parentfaf2a3d6c0dfa2b4443404122a75c392490a665c
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