patch-1.3.85 linux/net/ax25/af_ax25.c
Next file: linux/net/core/dev.c
Previous file: linux/net/appletalk/ddp.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Apr 8 11:41:04 1996
- Orig file:
v1.3.84/linux/net/ax25/af_ax25.c
- Orig date:
Tue Apr 2 13:32:23 1996
diff -u --recursive --new-file v1.3.84/linux/net/ax25/af_ax25.c linux/net/ax25/af_ax25.c
@@ -1617,7 +1617,7 @@
skb->h.raw = skb->data;
#ifdef CONFIG_FIREWALL
- if (call_in_firewall(PF_AX25, skb, skb->h.raw) != FW_ACCEPT) {
+ if (call_in_firewall(PF_AX25, skb->dev, skb->h.raw) != FW_ACCEPT) {
kfree_skb(skb, FREE_READ);
return 0;
}
@@ -1675,7 +1675,7 @@
build_ax25_addr(skb->data, &src, &dest, &dp, type, MODULUS);
#ifdef CONFIG_FIREWALL
- if (call_fw_firewall(PF_AX25, skb, skb->data) != FW_ACCEPT) {
+ if (call_fw_firewall(PF_AX25, skb->dev, skb->data) != FW_ACCEPT) {
kfree_skb(skb, FREE_READ);
return 0;
}
@@ -2461,7 +2461,7 @@
unsigned char *ptr;
#ifdef CONFIG_FIREWALL
- if (call_out_firewall(PF_AX25, skb, skb->data) != FW_ACCEPT) {
+ if (call_out_firewall(PF_AX25, skb->dev, skb->data) != FW_ACCEPT) {
dev_kfree_skb(skb, FREE_WRITE);
return;
}
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