summaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_output.c
diff options
context:
space:
mode:
authorLi RongQing <roy.qing.li@gmail.com>2013-02-01 05:17:16 (GMT)
committerSteffen Klassert <steffen.klassert@secunet.com>2013-02-01 09:33:40 (GMT)
commitfa8599db8f222fd9d351a640074377a841979187 (patch)
tree4cd8bf17f20a68d00ebb4f56ac827c26fb33aa54 /net/xfrm/xfrm_output.c
parent7e50f84c94b82c3b2d23ac8878012b3b60ea0e96 (diff)
downloadlinux-fsl-qoriq-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 3670526..bcfda89 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);