[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080912160825.GA5690@gondor.apana.org.au>
Date: Sat, 13 Sep 2008 02:08:25 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: David Miller <davem@...emloft.net>
Cc: paulmck@...ux.vnet.ibm.com, timo.teras@....fi,
netdev@...r.kernel.org
Subject: Re: xfrm_state locking regression...
On Thu, Sep 11, 2008 at 03:00:06PM -0700, David Miller wrote:
>
> > There is only one reader at a time, right? Otherwise, I don't see how
> > the increments and reads of xfrm_state_walk_completed line up.
>
> The RTNL semaphore is held across the modifications of the counters.
s/RTNL/xfrm_cfg_mutex/
but otherwise what Dave said :)
Thanks,
--
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