From: David Ahern <dsahern@gmail.com>
To: Vishwanath Pai <vpai@akamai.com>,
yoshfuji@linux-ipv6.org, kuznet@ms2.inr.ac.ru,
davem@davemloft.net
Cc: netdev@vger.kernel.org, ilubashe@akamai.com, pai.vishwain@gmail.com
Subject: Re: [PATCH v2 net-next] net: display hw address of source machine during ipv6 DAD failure
Date: Mon, 30 Oct 2017 17:44:21 -0600 [thread overview]
Message-ID: <fb6999ed-0b8d-c55d-b0fb-78b61d4b1f9a@gmail.com> (raw)
In-Reply-To: <1509406732-21855-1-git-send-email-vpai@akamai.com>
On 10/30/17 5:38 PM, Vishwanath Pai wrote:
> This patch updates the error messages displayed in kernel log to include
> hwaddress of the source machine that caused ipv6 duplicate address
> detection failures.
>
> Examples:
>
> a) When we receive a NA packet from another machine advertising our
> address:
>
> ICMPv6: NA: 34:ab:cd:56:11:e8 advertised our address 2001:db8:: on eth0!
>
> b) When we detect DAD failure during address assignment to an interface:
>
> IPv6: eth0: IPv6 duplicate address 2001:db8:: used by 34:ab:cd:56:11:e8
> detected!
>
> v2:
> Changed %pI6 to %pI6c in ndisc_recv_na()
> Chaged the v6 address in the commit message to 2001:db8::
>
> Suggested-by: Igor Lubashev <ilubashe@akamai.com>
> Signed-off-by: Vishwanath Pai <vpai@akamai.com>
> ---
> include/net/addrconf.h | 2 +-
> net/ipv6/addrconf.c | 6 +++---
> net/ipv6/ndisc.c | 9 +++++----
> 3 files changed, 9 insertions(+), 8 deletions(-)
LGTM
Acked-by: David Ahern <dsahern@gmail.com>
next prev parent reply other threads:[~2017-10-30 23:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-30 23:38 [PATCH v2 net-next] net: display hw address of source machine during ipv6 DAD failure Vishwanath Pai
2017-10-30 23:44 ` David Ahern [this message]
2017-11-01 11:54 ` David Miller
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=fb6999ed-0b8d-c55d-b0fb-78b61d4b1f9a@gmail.com \
--to=dsahern@gmail.com \
--cc=davem@davemloft.net \
--cc=ilubashe@akamai.com \
--cc=kuznet@ms2.inr.ac.ru \
--cc=netdev@vger.kernel.org \
--cc=pai.vishwain@gmail.com \
--cc=vpai@akamai.com \
--cc=yoshfuji@linux-ipv6.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).