[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150430102450.GO8928@secunet.com>
Date: Thu, 30 Apr 2015 12:24:50 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: "Du, Fan" <fan.du@...el.com>
CC: "roy.qing.li@...il.com" <roy.qing.li@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH] xfrm: fix a race in xfrm_state_lookup_byspi
On Wed, Apr 29, 2015 at 05:25:25AM +0000, Du, Fan wrote:
>
> >-----Original Message-----
> >From: roy.qing.li@...il.com [mailto:roy.qing.li@...il.com]
> >Sent: Wednesday, April 29, 2015 8:43 AM
> >To: netdev@...r.kernel.org
> >Cc: Du, Fan; steffen.klassert@...unet.com
> >Subject: [PATCH] xfrm: fix a race in xfrm_state_lookup_byspi
> >
> >From: Li RongQing <roy.qing.li@...il.com>
> >
> >The returned xfrm_state should be hold before unlock xfrm_state_lock,
> >otherwise the returned xfrm_state maybe be released.
> >
> >Fixes: c454997e6[{pktgen, xfrm} Introduce xfrm_state_lookup_byspi..]
> >Cc: Fan Du <fan.du@...el.com>
> >Signed-off-by: Li RongQing <roy.qing.li@...il.com>
>
> Acked-by: Fan Du <fan.du@...el.com>
Applied to the ipsec tree, thanks a lot!
--
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