aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/netpoll.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2007-03-12 19:56:31 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:25:12 -0400
commitd0a92be05ed4aea7d35c2b257e3f9173565fe4eb (patch)
treede57331758805956bcb54dda798e3ca76dd5a46f /net/core/netpoll.c
parentfd74e6ccd522e2f26163eb5ac1abebcab2bd017c (diff)
[SK_BUFF]: Introduce arp_hdr(), remove skb->nh.arph
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/netpoll.c')
-rw-r--r--net/core/netpoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c
index c4cec17be334..496b06244a8e 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -363,7 +363,7 @@ static void arp_reply(struct sk_buff *skb)
363 363
364 skb_reset_network_header(skb); 364 skb_reset_network_header(skb);
365 skb->h.raw = skb->data; 365 skb->h.raw = skb->data;
366 arp = skb->nh.arph; 366 arp = arp_hdr(skb);
367 367
368 if ((arp->ar_hrd != htons(ARPHRD_ETHER) && 368 if ((arp->ar_hrd != htons(ARPHRD_ETHER) &&
369 arp->ar_hrd != htons(ARPHRD_IEEE802)) || 369 arp->ar_hrd != htons(ARPHRD_IEEE802)) ||