[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130118085430.GF24987@secunet.com>
Date: Fri, 18 Jan 2013 09:54:30 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Cong Wang <amwang@...hat.com>
Cc: netdev@...r.kernel.org, Herbert Xu <herbert@...dor.hengli.com.au>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [Patch net-next 3/2] xfrm: use separated locks to protect
pointers of struct xfrm_state_afinfo
On Thu, Jan 17, 2013 at 04:34:11PM +0800, Cong Wang wrote:
> (On top of my previous RCU convert patches)
>
> afinfo->type_map and afinfo->mode_map deserve separated locks,
> they are different things.
>
> We should just take RCU read lock to protect afinfo itself,
> but not for the inner pointers.
>
> Cc: Steffen Klassert <steffen.klassert@...unet.com>
> Cc: Herbert Xu <herbert@...dor.apana.org.au>
> Cc: "David S. Miller" <davem@...emloft.net>
> Signed-off-by: Cong Wang <amwang@...hat.com>
All Aplied to ipsec-next, 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