patch-2.4.27 linux-2.4.27/net/ipv4/netfilter/ipt_REJECT.c
Next file: linux-2.4.27/net/ipv4/netfilter/ipt_ULOG.c
Previous file: linux-2.4.27/net/ipv4/netfilter/ipt_MASQUERADE.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
2004-08-07 16:26:06.993442887 -0700
- Orig file:
linux-2.4.26/net/ipv4/netfilter/ipt_REJECT.c
- Orig date:
2003-11-28 10:26:21.000000000 -0800
diff -urN linux-2.4.26/net/ipv4/netfilter/ipt_REJECT.c linux-2.4.27/net/ipv4/netfilter/ipt_REJECT.c
@@ -126,12 +126,8 @@
nskb->dst = &rt->u.dst;
/* This packet will not be the same as the other: clear nf fields */
- nf_conntrack_put(nskb->nfct);
- nskb->nfct = NULL;
+ nf_reset(nskb);
nskb->nfcache = 0;
-#ifdef CONFIG_NETFILTER_DEBUG
- nskb->nf_debug = 0;
-#endif
nskb->nfmark = 0;
tcph = (struct tcphdr *)((u_int32_t*)nskb->nh.iph + nskb->nh.iph->ihl);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)