[NETFILTER]: ctnetlink: fix deadlock in table dumping
authorPatrick McHardy <kaber@trash.net>
Fri, 18 Aug 2006 01:12:38 +0000 (18:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Aug 2006 01:12:38 +0000 (18:12 -0700)
commitd205dc40798d97d63ad348bfaf7394f445d152d4
tree603d58aaacec053300396db71b7143ea115ee902
parent6e8fcbf64024f9056ba122abbb66554aa76bae5d
[NETFILTER]: ctnetlink: fix deadlock in table dumping

ip_conntrack_put must not be called while holding ip_conntrack_lock
since destroy_conntrack takes it again.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_netlink.c
net/netfilter/nf_conntrack_netlink.c