patch-2.1.30 linux/net/rose/rose_route.c

Next file: linux/net/rose/rose_timer.c
Previous file: linux/net/rose/rose_link.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.29/linux/net/rose/rose_route.c linux/net/rose/rose_route.c
@@ -545,10 +545,8 @@
 	struct device *dev;
 	unsigned long flags;
 
-#ifdef CONFIG_FIREWALL
-	if (call_in_firewall(PF_ROSE, skb->dev, skb->data, NULL) != FW_ACCEPT)
+	if (call_in_firewall(PF_ROSE, skb->dev, skb->data, NULL, &skb) != FW_ACCEPT)
 		return 0;
-#endif
 
 	frametype = skb->data[2];
 	lci = ((skb->data[0] << 8) & 0xF00) + ((skb->data[1] << 0) & 0x0FF);

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]