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:
Li RongQing 2013-02-01 13:17:16 +08:00 committed by Steffen Klassert
parent 7e50f84c94
commit fa8599db8f

View File

@ -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);