summaryrefslogtreecommitdiffstats
path: root/kernel/net/ax25/ax25_in.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/ax25/ax25_in.c')
-rw-r--r--kernel/net/ax25/ax25_in.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/net/ax25/ax25_in.c b/kernel/net/ax25/ax25_in.c
index 7ed8ab724..bb5a0e4e9 100644
--- a/kernel/net/ax25/ax25_in.c
+++ b/kernel/net/ax25/ax25_in.c
@@ -23,7 +23,6 @@
#include <linux/inet.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
-#include <linux/netfilter.h>
#include <net/sock.h>
#include <net/tcp_states.h>
#include <asm/uaccess.h>
@@ -354,7 +353,7 @@ static int ax25_rcv(struct sk_buff *skb, struct net_device *dev,
return 0;
}
- ax25 = ax25_sk(make);
+ ax25 = sk_to_ax25(make);
skb_set_owner_r(skb, make);
skb_queue_head(&sk->sk_receive_queue, skb);