]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/netfilter/nf_conntrack_proto_dccp.c
netfilter: nf_conntrack: add nf_ct_kill()
[linux-2.6-omap-h63xx.git] / net / netfilter / nf_conntrack_proto_dccp.c
index afb4a1861d2c3708f6ae606de3095a75e0fc76c3..223742f371f9a4d1cc3e56f88ac843c2bc545045 100644 (file)
@@ -475,8 +475,7 @@ static int dccp_packet(struct nf_conn *ct, const struct sk_buff *skb,
        if (type == DCCP_PKT_RESET &&
            !test_bit(IPS_SEEN_REPLY_BIT, &ct->status)) {
                /* Tear down connection immediately if only reply is a RESET */
-               if (del_timer(&ct->timeout))
-                       ct->timeout.function((unsigned long)ct);
+               nf_ct_kill(ct);
                return NF_ACCEPT;
        }