patch-2.2.17 linux/net/ipv4/ip_fw.c

Next file: linux/net/ipv4/proc.c
Previous file: linux/net/ipv4/af_inet.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.16/net/ipv4/ip_fw.c linux/net/ipv4/ip_fw.c
@@ -740,7 +740,7 @@
 		for (; f; f = f->next) {
 			count++;
 			if (ip_rule_match(f,rif,ip,
-					  tcpsyn,src_port,dst_port,offset)) {
+					  tcpsyn,src_port,dst_port,offset!=0)) {
 				if (!testing
 				    && !ip_fw_domatch(f, ip, rif, chain->label,
 						      skb, slot, 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)