patch-pre2.0.7 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 pre2.0.6/linux/net/appletalk/ddp.c linux/net/appletalk/ddp.c
@@ -1451,7 +1451,7 @@
 
 #ifdef CONFIG_FIREWALL
 	
-	if(call_in_firewall(AF_APPLETALK, skb->dev, ddp)!=FW_ACCEPT)
+	if(call_in_firewall(AF_APPLETALK, skb->dev, ddp, NULL)!=FW_ACCEPT)
 	{
 		kfree_skb(skb, FREE_READ);
 		return 0;
@@ -1485,7 +1485,7 @@
 		 *	Check firewall allows this routing
 		 */
 		
-		if(call_fw_firewall(AF_APPLETALK, skb->dev, ddp)!=FW_ACCEPT)
+		if(call_fw_firewall(AF_APPLETALK, skb->dev, ddp, NULL)!=FW_ACCEPT)
 		{
 			kfree_skb(skb, FREE_READ);
 			return(0);
@@ -1746,7 +1746,7 @@
 		
 #ifdef CONFIG_FIREWALL
 
-	if(call_out_firewall(AF_APPLETALK, skb->dev, ddp)!=FW_ACCEPT)
+	if(call_out_firewall(AF_APPLETALK, skb->dev, ddp, NULL)!=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