Skip to content

Commit

Permalink
xfrm: fix a unbalanced lock
Browse files Browse the repository at this point in the history
Signed-off-by: Li RongQing <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
  • Loading branch information
Li RongQing authored and klassert committed Feb 1, 2013
1 parent 7e50f84 commit fa8599d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/xfrm/xfrm_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fa8599d

Please sign in to comment.