patch-1.3.85 linux/net/appletalk/ddp.c

Next file: linux/net/ax25/af_ax25.c
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.84/linux/net/appletalk/ddp.c linux/net/appletalk/ddp.c
@@ -1472,7 +1472,7 @@
 
 #ifdef CONFIG_FIREWALL
 	
-	if(call_in_firewall(AF_APPLETALK, skb, ddp)!=FW_ACCEPT)
+	if(call_in_firewall(AF_APPLETALK, skb->dev, ddp)!=FW_ACCEPT)
 	{
 		kfree_skb(skb, FREE_READ);
 		return 0;
@@ -1506,7 +1506,7 @@
 		 *	Check firewall allows this routing
 		 */
 		
-		if(call_fw_firewall(AF_APPLETALK, skb, ddp)!=FW_ACCEPT)
+		if(call_fw_firewall(AF_APPLETALK, skb->dev, ddp)!=FW_ACCEPT)
 		{
 			kfree_skb(skb, FREE_READ);
 			return(0);
@@ -1767,7 +1767,7 @@
 		
 #ifdef CONFIG_FIREWALL
 
-	if(call_out_firewall(AF_APPLETALK, skb, ddp)!=FW_ACCEPT)
+	if(call_out_firewall(AF_APPLETALK, skb->dev, ddp)!=FW_ACCEPT)
 	{
 		kfree_skb(skb, FREE_WRITE);
 		return -EPERM;

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