xfrm: fix a unbalanced lock

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Change-Id: Ib4951dae08cd33c9bae696225e5e870e069303f1
This commit is contained in:
Li RongQing 2013-02-01 13:17:16 +08:00 committed by surblazer
parent fe2daa40e9
commit 84482896c3

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