projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49719eb
)
[NETFILTER]: Missing unlock in TCP connection tracking error path
author
Patrick McHardy
<kaber@trash.net>
Tue, 6 Sep 2005 22:11:10 +0000
(15:11 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 6 Sep 2005 22:11:10 +0000
(15:11 -0700)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_proto_tcp.c
patch
|
blob
|
history
diff --git
a/net/ipv4/netfilter/ip_conntrack_proto_tcp.c
b/net/ipv4/netfilter/ip_conntrack_proto_tcp.c
index f23ef1f88c46b40701f956b74f49f3c9d7ef9ceb..1985abc59d2497f13c453750277d71da0bf73946 100644
(file)
--- 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