[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130628.211951.2123774046375197785.davem@davemloft.net>
Date: Fri, 28 Jun 2013 21:19:51 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: fbl@...hat.com
Cc: netdev@...r.kernel.org, yoshfuji@...ux-ipv6.org,
dlstevens@...ibm.com
Subject: Re: [PATCH net-next 1/2] ipv6: introduce per-interface counter for
dad-completed ipv6 addresses
From: Flavio Leitner <fbl@...hat.com>
Date: Thu, 27 Jun 2013 19:02:36 -0300
> On Thu, Jun 27, 2013 at 12:06:56AM +0200, Hannes Frederic Sowa wrote:
>> To reduce the number of unnecessary router solicitations, MLDv2 and IGMPv3
>> messages we need to track the number of valid (as in non-optimistic,
>> no-dad-failed and non-tentative) link-local addresses. Therefore, this
>> patch implements a valid_ll_addr_cnt in struct inet6_dev.
>>
>> We now only emit router solicitations if the first link-local address
>> finishes duplicate address detection.
>>
>> The changes for MLDv2 and IGMPv3 are in a follow-up patch.
>>
>> While there, also simplify one if statement(one minor nit I made in one
>> of my previous patches):
>>
>> if (!...)
>> do();
>> else
>> return;
>>
>> <<into>>
>>
>> if (...)
>> return;
>> do();
>>
>> Cc: Flavio Leitner <fbl@...hat.com>
>> Cc: YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
>> Cc: David Stevens <dlstevens@...ibm.com>
>> Suggested-by: David Stevens <dlstevens@...ibm.com>
>> Signed-off-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
>> ---
>
> Looks good and works here.
> thanks,
> Acked-by: Flavio Leitner <fbl@...hat.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists