[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100518223542.GA17320@gondor.apana.org.au>
Date: Wed, 19 May 2010 08:35:42 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: David Miller <davem@...emloft.net>
Cc: shemminger@...tta.com, jbohac@...e.cz, yoshfuji@...ux-ipv6.org,
netdev@...r.kernel.org
Subject: Re: [0/4] Fix addrconf race conditions
On Tue, May 18, 2010 at 03:27:59PM -0700, David Miller wrote:
> From: Stephen Hemminger <shemminger@...tta.com>
> Date: Tue, 18 May 2010 10:25:50 -0700
>
> > I wonder if so many fine grained locks are really necessary at
> > all. Everything but timers looks like it is under RTNL mutex
> > already.
>
> I can't see any reasonable alternative, and it took weeks to get
> a fix at all.
Right, the issue is with forcing an immediate effect after an
NDISC packet triggers an address addition/deletion.
>From what I can gather, the hard case was with NDISC address
addition with DAD disabled. That is, you have an NDISC packet
that causes an addition followed immediately by a packet destined
(or otherwise relying on) that new address. In that case, we
simply have no chance of using the RTNL.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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