summaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_output.c
diff options
context:
space:
mode:
authorLi RongQing <roy.qing.li@gmail.com>2013-02-01 09:17:16 +0400
committerSteffen Klassert <steffen.klassert@secunet.com>2013-02-01 13:33:40 +0400
commitfa8599db8f222fd9d351a640074377a841979187 (patch)
tree4cd8bf17f20a68d00ebb4f56ac827c26fb33aa54 /net/xfrm/xfrm_output.c
parent7e50f84c94b82c3b2d23ac8878012b3b60ea0e96 (diff)
downloadlinux-fa8599db8f222fd9d351a640074377a841979187.tar.xz
xfrm: fix a unbalanced lock
Signed-off-by: Li RongQing <roy.qing.li@gmail.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm/xfrm_output.c')
-rw-r--r--net/xfrm/xfrm_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_output.c b/net/xfrm/xfrm_output.c
index 3670526e70b9..bcfda8921b5b 100644
--- a/net/xfrm/xfrm_output.c
+++ b/net/xfrm/xfrm_output.c
@@ -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);