]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/netfilter/nf_conntrack_core.c
netfilter: nf_conntrack: add nf_ct_kill()
[linux-2.6-omap-h63xx.git] / net / netfilter / nf_conntrack_core.c
index c4b1799da5d76ac98920527e9fe85d30866ff9c8..79b07c35eb872a80fe7b6f464584ca05a38769cb 100644 (file)
@@ -848,6 +848,13 @@ acct:
 }
 EXPORT_SYMBOL_GPL(__nf_ct_refresh_acct);
 
+void nf_ct_kill(struct nf_conn *ct)
+{
+       if (del_timer(&ct->timeout))
+               ct->timeout.function((unsigned long)ct);
+}
+EXPORT_SYMBOL_GPL(nf_ct_kill);
+
 #if defined(CONFIG_NF_CT_NETLINK) || defined(CONFIG_NF_CT_NETLINK_MODULE)
 
 #include <linux/netfilter/nfnetlink.h>