ipv4: add option to drop gratuitous ARP packets
authorJohannes Berg <johannes.berg@intel.com>
Thu, 4 Feb 2016 12:31:18 +0000 (13:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2016 09:27:35 +0000 (04:27 -0500)
commit97daf331455077645ae1f13438bebd3d1a2e94ee
tree9e3ef43daf0d899896592a8bc1ffa65c9c9849fa
parent12b74dfadb5a7a23baf4db941dc9fd9d371f249a
ipv4: add option to drop gratuitous ARP packets

In certain 802.11 wireless deployments, there will be ARP proxies
that use knowledge of the network to correctly answer requests.
To prevent gratuitous ARP frames on the shared medium from being
a problem, on such deployments wireless needs to drop them.

Enable this by providing an option called "drop_gratuitous_arp".

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt
include/uapi/linux/ip.h
net/ipv4/arp.c
net/ipv4/devinet.c