[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140117.181033.1283452444632089563.davem@davemloft.net>
Date: Fri, 17 Jan 2014 18:10:33 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: hannes@...essinduktion.org
Cc: jiri@...nulli.us, netdev@...r.kernel.org, fbl@...hat.com
Subject: Re: [PATCH net] ipv6: simplify detection of first operational
link-local address on interface
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
Date: Thu, 16 Jan 2014 20:13:04 +0100
> In commit 1ec047eb4751e3 ("ipv6: introduce per-interface counter for
> dad-completed ipv6 addresses") I build the detection of the first
> operational link-local address much to complex. Additionally this code
> now has a race condition.
>
> Replace it with a much simpler variant, which just scans the address
> list when duplicate address detection completes, to check if this is
> the first valid link local address and send RS and MLD reports then.
>
> Fixes: 1ec047eb4751e3 ("ipv6: introduce per-interface counter for dad-completed ipv6 addresses")
> Reported-by: Jiri Pirko <jiri@...nulli.us>
> Cc: Flavio Leitner <fbl@...hat.com>
> Signed-off-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
Applied and queued up for -stable, thanks.
--
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