diff options
author | Patrick McHardy <kaber@trash.net> | 2005-09-06 15:11:10 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-09-06 15:11:10 -0700 |
commit | e4466399398a2ec854776e9eca2b4415b40bd1ff (patch) | |
tree | 65f6ea6ebcfb45c8cb38ee0d36807af5f3a28117 /net | |
parent | 49719eb355d32fa07793017b4b46b1c02e88b275 (diff) | |
download | linux-stable-e4466399398a2ec854776e9eca2b4415b40bd1ff.tar.gz linux-stable-e4466399398a2ec854776e9eca2b4415b40bd1ff.tar.bz2 linux-stable-e4466399398a2ec854776e9eca2b4415b40bd1ff.zip |
[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')
-rw-r--r-- | net/ipv4/netfilter/ip_conntrack_proto_tcp.c | 1 |
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 f23ef1f88c46..1985abc59d24 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 |