]> Pileus Git - ~andy/linux/commitdiff
xfrm: fix a unbalanced lock
authorLi RongQing <roy.qing.li@gmail.com>
Fri, 1 Feb 2013 05:17:16 +0000 (13:17 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 1 Feb 2013 09:33:40 +0000 (10:33 +0100)
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_output.c

index 3670526e70b97e804e90404036c89a5e54b5dcf5..bcfda8921b5bf944d38ac3e087eb1cccfac327fe 100644 (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);