summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2005-09-06 15:11:10 -0700
committerDavid S. Miller <davem@davemloft.net>2005-09-06 15:11:10 -0700
commite4466399398a2ec854776e9eca2b4415b40bd1ff (patch)
tree65f6ea6ebcfb45c8cb38ee0d36807af5f3a28117 /net/ipv4
parent49719eb355d32fa07793017b4b46b1c02e88b275 (diff)
downloadop-kernel-dev-e4466399398a2ec854776e9eca2b4415b40bd1ff.zip
op-kernel-dev-e4466399398a2ec854776e9eca2b4415b40bd1ff.tar.gz
[NETFILTER]: Missing unlock in TCP connection tracking error path
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/netfilter/ip_conntrack_proto_tcp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/ip_conntrack_proto_tcp.c b/net/ipv4/netfilter/ip_conntrack_proto_tcp.c
index f23ef1f..1985abc 100644
--- a/net/ipv4/netfilter/ip_conntrack_proto_tcp.c
+++ b/net/ipv4/netfilter/ip_conntrack_proto_tcp.c
@@ -349,6 +349,7 @@ static int tcp_to_nfattr(struct sk_buff *skb, struct nfattr *nfa,
return 0;
nfattr_failure:
+ read_unlock_bh(&tcp_lock);
return -1;
}
#endif
OpenPOWER on IntegriCloud