diff options
Diffstat (limited to 'net/econet')
-rw-r--r-- | net/econet/af_econet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/econet/af_econet.c b/net/econet/af_econet.c index dcc2e4b6b2fe..78993dadb53a 100644 --- a/net/econet/af_econet.c +++ b/net/econet/af_econet.c | |||
@@ -943,7 +943,7 @@ static void aun_data_available(struct sock *sk, int slen) | |||
943 | printk(KERN_DEBUG "AUN: recvfrom() error %d\n", -err); | 943 | printk(KERN_DEBUG "AUN: recvfrom() error %d\n", -err); |
944 | } | 944 | } |
945 | 945 | ||
946 | data = skb->h.raw + sizeof(struct udphdr); | 946 | data = skb_transport_header(skb) + 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 = ip_hdr(skb); | 949 | ip = ip_hdr(skb); |