From d6434e1042f3b0a6dfe1b1f615af369486f9b1fa Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sat, 9 Oct 1999 00:00:47 +0000 Subject: Merge with 2.3.19. --- net/ax25/ax25_in.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'net/ax25/ax25_in.c') diff --git a/net/ax25/ax25_in.c b/net/ax25/ax25_in.c index dee4565ad..497022f23 100644 --- a/net/ax25/ax25_in.c +++ b/net/ax25/ax25_in.c @@ -54,7 +54,7 @@ #include #include #include -#include +#include #include #include /* For ip_rcv */ #include /* For arp_rcv */ @@ -213,7 +213,7 @@ static int ax25_process_rx_frame(ax25_cb *ax25, struct sk_buff *skb, int type, i return queued; } -static int ax25_rcv(struct sk_buff *skb, struct device *dev, ax25_address *dev_addr, struct packet_type *ptype) +static int ax25_rcv(struct sk_buff *skb, struct net_device *dev, ax25_address *dev_addr, struct packet_type *ptype) { struct sock *make; struct sock *sk; @@ -238,11 +238,6 @@ static int ax25_rcv(struct sk_buff *skb, struct device *dev, ax25_address *dev_a return 0; } - if (call_in_firewall(PF_AX25, skb->dev, skb->h.raw, NULL, &skb) != FW_ACCEPT) { - kfree_skb(skb); - return 0; - } - /* * Parse the address header. */ @@ -469,7 +464,7 @@ static int ax25_rcv(struct sk_buff *skb, struct device *dev, ax25_address *dev_a /* * Receive an AX.25 frame via a SLIP interface. */ -int ax25_kiss_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *ptype) +int ax25_kiss_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype) { skb->sk = NULL; /* Initially we don't know who it's for */ skb->destructor = NULL; /* Who initializes this, dammit?! */ -- cgit v1.2.3