Good day. This patchset is spurred by discussion started at https://patchwork.ozlabs.org/patch/760372/ where we figured that there is no real reason for enforcing override by gratuitous ARP packets only when arp_accept is 1. Same should happen when it's 0 (the default value).
The first patch in the series moves is_garp code into a separate function preparing the code base for the 2nd patch that actually implements the needed change. Ihar Hrachyshka (2): arp: decompose is_garp logic into a separate function arp: always override existing neigh entries with gratuitous ARP net/ipv4/arp.c | 47 +++++++++++++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 18 deletions(-) -- 2.9.3