diff options
author | Johannes Berg <johannes.berg@intel.com> | 2016-02-04 13:31:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-11 04:27:36 -0500 |
commit | 7a02bf892d8f1e5298af1676f001bee410509d80 (patch) | |
tree | dcdd03f7fdedaf5c1ff5363415b68afe6ac57374 /include/linux/ipv6.h | |
parent | abbc30436d39dfed8ebfca338d253f211ac7b094 (diff) | |
download | lwn-7a02bf892d8f1e5298af1676f001bee410509d80.tar.gz lwn-7a02bf892d8f1e5298af1676f001bee410509d80.zip |
ipv6: add option to drop unsolicited neighbor advertisements
In certain 802.11 wireless deployments, there will be NA proxies
that use knowledge of the network to correctly answer requests.
To prevent unsolicitd advertisements on the shared medium from
being a problem, on such deployments wireless needs to drop them.
Enable this by providing an option called "drop_unsolicited_na".
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ipv6.h')
-rw-r--r-- | include/linux/ipv6.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index 4a4c1ae826cb..4b2267e1b7c3 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h @@ -56,6 +56,7 @@ struct ipv6_devconf { __s32 ndisc_notify; __s32 suppress_frag_ndisc; __s32 accept_ra_mtu; + __s32 drop_unsolicited_na; struct ipv6_stable_secret { bool initialized; struct in6_addr secret; |