[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>
This commit is contained in:
committed by
David S. Miller
parent
fd74e6ccd5
commit
d0a92be05e
@@ -363,7 +363,7 @@ static void arp_reply(struct sk_buff *skb)
|
||||
|
||||
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)) ||
|
||||
|
Reference in New Issue
Block a user