aboutsummaryrefslogtreecommitdiffstats
path: root/net/econet/af_econet.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/econet/af_econet.c')
-rw-r--r--net/econet/af_econet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/econet/af_econet.c b/net/econet/af_econet.c
index 099543f5401f..dcc2e4b6b2fe 100644
--- a/net/econet/af_econet.c
+++ b/net/econet/af_econet.c
@@ -848,7 +848,7 @@ static void aun_send_response(__u32 addr, unsigned long seq, int code, int cb)
848 848
849static void aun_incoming(struct sk_buff *skb, struct aunhdr *ah, size_t len) 849static void aun_incoming(struct sk_buff *skb, struct aunhdr *ah, size_t len)
850{ 850{
851 struct iphdr *ip = skb->nh.iph; 851 struct iphdr *ip = ip_hdr(skb);
852 unsigned char stn = ntohl(ip->saddr) & 0xff; 852 unsigned char stn = ntohl(ip->saddr) & 0xff;
853 struct sock *sk; 853 struct sock *sk;
854 struct sk_buff *newskb; 854 struct sk_buff *newskb;
@@ -946,7 +946,7 @@ static void aun_data_available(struct sock *sk, int slen)
946 data = skb->h.raw + sizeof(struct udphdr); 946 data = skb->h.raw + sizeof(struct udphdr);
947 ah = (struct aunhdr *)data; 947 ah = (struct aunhdr *)data;
948 len = skb->len - sizeof(struct udphdr); 948 len = skb->len - sizeof(struct udphdr);
949 ip = skb->nh.iph; 949 ip = ip_hdr(skb);
950 950
951 switch (ah->code) 951 switch (ah->code)
952 { 952 {