Commit fa8599db authored by Li RongQing's avatar Li RongQing Committed by Steffen Klassert

xfrm: fix a unbalanced lock

Signed-off-by: default avatarLi RongQing <roy.qing.li@gmail.com>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent 7e50f84c
...@@ -64,7 +64,7 @@ static int xfrm_output_one(struct sk_buff *skb, int err) ...@@ -64,7 +64,7 @@ static int xfrm_output_one(struct sk_buff *skb, int err)
if (unlikely(x->km.state != XFRM_STATE_VALID)) { if (unlikely(x->km.state != XFRM_STATE_VALID)) {
XFRM_INC_STATS(net, LINUX_MIB_XFRMOUTSTATEINVALID); XFRM_INC_STATS(net, LINUX_MIB_XFRMOUTSTATEINVALID);
goto error_nolock; goto error;
} }
err = xfrm_state_check_expire(x); err = xfrm_state_check_expire(x);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment