netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arp: always override existing neigh entries with gratuitous ARP
@ 2017-05-17 21:33 Ihar Hrachyshka
  2017-05-17 21:33 ` [PATCH 1/2] arp: decompose is_garp logic into a separate function Ihar Hrachyshka
  2017-05-17 21:33 ` [PATCH 2/2] arp: always override existing neigh entries with gratuitous ARP Ihar Hrachyshka
  0 siblings, 2 replies; 4+ messages in thread
From: Ihar Hrachyshka @ 2017-05-17 21:33 UTC (permalink / raw)
  To: davem, ja; +Cc: Ihar Hrachyshka, netdev

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-05-17 23:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-17 21:33 [PATCH 0/2] arp: always override existing neigh entries with gratuitous ARP Ihar Hrachyshka
2017-05-17 21:33 ` [PATCH 1/2] arp: decompose is_garp logic into a separate function Ihar Hrachyshka
2017-05-17 21:33 ` [PATCH 2/2] arp: always override existing neigh entries with gratuitous ARP Ihar Hrachyshka
2017-05-17 23:25   ` Julian Anastasov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).