mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
xfrm: fix a unbalanced lock
Signed-off-by: Li RongQing <roy.qing.li@gmail.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
This commit is contained in:
parent
7e50f84c94
commit
fa8599db8f
@ -64,7 +64,7 @@ static int xfrm_output_one(struct sk_buff *skb, int err)
|
||||
|
||||
if (unlikely(x->km.state != XFRM_STATE_VALID)) {
|
||||
XFRM_INC_STATS(net, LINUX_MIB_XFRMOUTSTATEINVALID);
|
||||
goto error_nolock;
|
||||
goto error;
|
||||
}
|
||||
|
||||
err = xfrm_state_check_expire(x);
|
||||
|
Loading…
Reference in New Issue
Block a user