mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 02:47:23 +07: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