unet.com
> >Subject: [PATCH] xfrm: fix a race in xfrm_state_lookup_byspi
> >
> >From: Li RongQing
> >
> >The returned xfrm_state should be hold before unlock xfrm_state_lock,
> >otherwise the returned xfrm_state maybe be released.
> >
> >Fixes: c454997e6
>-Original Message-
>From: roy.qing...@gmail.com [mailto:roy.qing...@gmail.com]
>Sent: Wednesday, April 29, 2015 8:43 AM
>To: netdev@vger.kernel.org
>Cc: Du, Fan; steffen.klass...@secunet.com
>Subject: [PATCH] xfrm: fix a race in xfrm_state_lookup_byspi
>
>F
From: Li RongQing
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
Signed-off-by: Li RongQing
---
net/xfrm/xfrm_state.c | 2 +-
1 file chan