OSDN Git Service

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)
committerArian <arian.kulmer@web.de>
Tue, 19 Nov 2019 14:49:05 +0000 (15:49 +0100)
commitc8858bb6fa920b7d5181148dc3cf5828de1833ef
tree58e72bafb4ae319da9d9cdc06cc1c0328cd3703c
parentcf25ce66098a88a63cedc1ab9c622f10a9d85a09
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>
(cherry picked from commit 4078228159c9f54cca7347a8bdace29f2abdef65)

Change-Id: I8772dbd7471085878f8b4161eb2a056d79b8b232
Documentation/networking/ip-sysctl.txt
include/uapi/linux/ip.h
net/ipv4/arp.c
net/ipv4/devinet.c