aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorLi RongQing <roy.qing.li@gmail.com>2013-02-01 13:17:16 +0800
committerSteffen Klassert <steffen.klassert@secunet.com>2013-02-01 10:33:40 +0100
commitfa8599db8f222fd9d351a640074377a841979187 (patch)
tree4cd8bf17f20a68d00ebb4f56ac827c26fb33aa54 /net/xfrm
parentpf_key/xfrm_algo: prepare pf_key and xfrm_algo for new algorithms without pfkey support (diff)
downloadlinux-dev-fa8599db8f222fd9d351a640074377a841979187.tar.xz
linux-dev-fa8599db8f222fd9d351a640074377a841979187.zip
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')
-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);