[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5cc54cba-39d9-c136-9524-d09a5214b48e@arista.com>
Date: Fri, 2 Dec 2016 10:30:47 -0800
From: Erik Nordmark <nordmark@...sta.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, hannes@...essinduktion.org,
gilligan@...sta.com
Subject: Re: [PATCH net-next v3] ipv6 addrconf: Implemented enhanced DAD
(RFC7527)
On 12/2/16 9:27 AM, David Miller wrote:
> From: Erik Nordmark <nordmark@...sta.com>
> Date: Wed, 30 Nov 2016 15:39:19 -0800
>
>> @@ -794,6 +808,17 @@ static void ndisc_recv_ns(struct sk_buff *skb)
>> have_ifp:
>> if (ifp->flags & (IFA_F_TENTATIVE|IFA_F_OPTIMISTIC)) {
>> if (dad) {
>> + if (nonce != 0 && ifp->dad_nonce == nonce) {
>> + u8 *np = (u8 *)&nonce;
>> + /* Matching nonce if looped back */
>> + ND_PRINTK(2, notice,
>> + "%s: IPv6 DAD loopback for address %pI6c nonce %02x:%02x:%02x:%02x:%02x:%02x ignored\n",
>> + ifp->idev->dev->name,
>> + &ifp->addr,
>> + np[0], np[1], np[2], np[3],
>> + np[4], np[5]);
> I know you said you'd leave this, but I'd actually like to ask that you
> use %pM here to save some kernel size.
OK, I'll change that and resubmit.
Thanks,
Erik
>
> Thank you.
Powered by blists - more mailing lists