From: Ihar Hrachyshka <ihrachys@redhat.com>
To: davem@davemloft.net, ja@ssi.bg
Cc: Ihar Hrachyshka <ihrachys@redhat.com>, netdev@vger.kernel.org
Subject: [PATCH 0/2] arp: always override existing neigh entries with gratuitous ARP
Date: Wed, 17 May 2017 14:33:05 -0700 [thread overview]
Message-ID: <cover.1495056542.git.ihrachys@redhat.com> (raw)
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
next reply other threads:[~2017-05-17 21:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-17 21:33 Ihar Hrachyshka [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1495056542.git.ihrachys@redhat.com \
--to=ihrachys@redhat.com \
--cc=davem@davemloft.net \
--cc=ja@ssi.bg \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).