patch-1.3.85 linux/net/ipv4/ip_input.c

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

diff -u --recursive --new-file v1.3.84/linux/net/ipv4/ip_input.c linux/net/ipv4/ip_input.c
@@ -304,7 +304,7 @@
 	
 #ifdef	CONFIG_FIREWALL
 
-	if ((err=call_in_firewall(PF_INET, skb, iph))<FW_ACCEPT)
+	if ((err=call_in_firewall(PF_INET, skb->dev, iph))<FW_ACCEPT)
 	{
 		if(err==FW_REJECT)
 			icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0, dev);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this