commit | d0a92be05ed4aea7d35c2b257e3f9173565fe4eb | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <acme@redhat.com> | Mon Mar 12 20:56:31 2007 -0300 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Apr 25 22:25:12 2007 -0700 |
tree | de57331758805956bcb54dda798e3ca76dd5a46f | |
parent | fd74e6ccd522e2f26163eb5ac1abebcab2bd017c [diff] [blame] |
[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>
diff --git a/net/core/netpoll.c b/net/core/netpoll.c index c4cec17..496b062 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c
@@ -363,7 +363,7 @@ skb_reset_network_header(skb); skb->h.raw = skb->data; - arp = skb->nh.arph; + arp = arp_hdr(skb); if ((arp->ar_hrd != htons(ARPHRD_ETHER) && arp->ar_hrd != htons(ARPHRD_IEEE802)) ||