summaryrefslogtreecommitdiff
path: root/net/wireless/nl80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-04-30 23:13:07 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-01 03:51:41 +0300
commitd15da2a2e813679aeac8bff3be38d3adc849c1a6 (patch)
treef1919b2e7a7c452fabf18170d1f178f6cd88d826 /net/wireless/nl80211.h
parent7690aa1cdf7c4565ad6b013b324c28b685505e24 (diff)
downloadlinux-d15da2a2e813679aeac8bff3be38d3adc849c1a6.tar.xz
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>
Diffstat (limited to 'net/wireless/nl80211.h')
-rw-r--r--net/wireless/nl80211.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/wireless/nl80211.h b/net/wireless/nl80211.h
index a41e94a49a89..d3e8e426c486 100644
--- a/net/wireless/nl80211.h
+++ b/net/wireless/nl80211.h
@@ -11,8 +11,6 @@
int nl80211_init(void);
void nl80211_exit(void);
-extern const struct nla_policy nl80211_policy[NUM_NL80211_ATTR];
-
void *nl80211hdr_put(struct sk_buff *skb, u32 portid, u32 seq,
int flags, u8 cmd);
bool nl80211_put_sta_rate(struct sk_buff *msg, struct rate_info *info,