]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdfa486073cc3df1b9fae6fa41e238c52449fa1f6
tree9e3ef43daf0d899896592a8bc1ffa65c9c9849fa
parent2e1d28e3243e8df58f9a17b62fb52ba0acad232f
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