patch-2.4.27 linux-2.4.27/net/ipv4/netfilter/iptable_mangle.c
Next file: linux-2.4.27/net/ipv4/raw.c
Previous file: linux-2.4.27/net/ipv4/netfilter/ipt_unclean.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
2004-08-07 16:26:06.997443052 -0700
- Orig file:
linux-2.4.26/net/ipv4/netfilter/iptable_mangle.c
- Orig date:
2003-06-13 07:51:39.000000000 -0700
diff -urN linux-2.4.26/net/ipv4/netfilter/iptable_mangle.c linux-2.4.27/net/ipv4/netfilter/iptable_mangle.c
@@ -160,7 +160,9 @@
if (ret != NF_DROP && ret != NF_STOLEN && ret != NF_QUEUE
&& ((*pskb)->nh.iph->saddr != saddr
|| (*pskb)->nh.iph->daddr != daddr
+#ifdef CONFIG_IP_ROUTE_FWMARK
|| (*pskb)->nfmark != nfmark
+#endif
|| (*pskb)->nh.iph->tos != tos))
return ip_route_me_harder(pskb) == 0 ? ret : NF_DROP;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)