]> err.no Git - linux-2.6/commit
netfilter: nf_conntrack: add nf_ct_kill()
authorPatrick McHardy <kaber@trash.net>
Mon, 9 Jun 2008 22:59:06 +0000 (15:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jun 2008 22:59:06 +0000 (15:59 -0700)
commit51091764f26ec36c02e35166f083193a30f426fc
treeb7103b8d892d4c4b2138437406e2e4be1be13b16
parent31d8519c9cf87e9d8a0cc5b9734fda02af66d7e2
netfilter: nf_conntrack: add nf_ct_kill()

Encapsulate the common

if (del_timer(&ct->timeout))
ct->timeout.function((unsigned long)ct)

sequence in a new function.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nf_conntrack.h
net/ipv4/netfilter/nf_conntrack_proto_icmp.c
net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_netlink.c
net/netfilter/nf_conntrack_proto_dccp.c
net/netfilter/nf_conntrack_proto_tcp.c