ipv6: add option to drop unsolicited neighbor advertisements
authorJohannes Berg <johannes.berg@intel.com>
Thu, 4 Feb 2016 12:31:20 +0000 (13:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2016 09:27:36 +0000 (04:27 -0500)
commit7a02bf892d8f1e5298af1676f001bee410509d80
treedcdd03f7fdedaf5c1ff5363415b68afe6ac57374
parentabbc30436d39dfed8ebfca338d253f211ac7b094
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>
Documentation/networking/ip-sysctl.txt
include/linux/ipv6.h
include/uapi/linux/ipv6.h
net/ipv6/addrconf.c
net/ipv6/ndisc.c