You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[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
@@ -1925,7 +1925,7 @@ int t1_start_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
*/
|
||||
if ((unlikely(!adapter->sge->espibug_skb[dev->if_port]))) {
|
||||
if (skb->protocol == htons(ETH_P_ARP) &&
|
||||
skb->nh.arph->ar_op == htons(ARPOP_REQUEST)) {
|
||||
arp_hdr(skb)->ar_op == htons(ARPOP_REQUEST)) {
|
||||
adapter->sge->espibug_skb[dev->if_port] = skb;
|
||||
/* We want to re-use this skb later. We
|
||||
* simply bump the reference count and it
|
||||
|
||||
Reference in New Issue
Block a user