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:
266c854
)
[NETFILTER]: Don't use conntrack entry after dropping the reference
author
Patrick McHardy
<kaber@trash.net>
Mon, 5 Dec 2005 21:38:16 +0000
(13:38 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 5 Dec 2005 21:38:16 +0000
(13:38 -0800)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_netlink.c
patch
|
blob
|
history
diff --git
a/net/ipv4/netfilter/ip_conntrack_netlink.c
b/net/ipv4/netfilter/ip_conntrack_netlink.c
index d058ac41bfd3ab2619161ef8dac47c3563333a55..91fe8f2e38ffe500a2f72c6b3c6f69c3a7e548c6 100644
(file)
--- a/
net/ipv4/netfilter/ip_conntrack_netlink.c
+++ b/
net/ipv4/netfilter/ip_conntrack_netlink.c
@@
-728,11
+728,9
@@
ctnetlink_del_conntrack(struct sock *ctnl, struct sk_buff *skb,
return -ENOENT;
}
}
- if (del_timer(&ct->timeout)) {
- ip_conntrack_put(ct);
+ if (del_timer(&ct->timeout))
ct->timeout.function((unsigned long)ct);
- return 0;
- }
+
ip_conntrack_put(ct);
DEBUGP("leaving\n");