|
|
@@ -5725,7 +5725,6 @@ static struct sk_buff *napi_frags_skb(struct napi_struct *napi)
|
|
|
skb_reset_mac_header(skb);
|
|
|
skb_gro_reset_offset(skb);
|
|
|
|
|
|
- eth = skb_gro_header_fast(skb, 0);
|
|
|
if (unlikely(skb_gro_header_hard(skb, hlen))) {
|
|
|
eth = skb_gro_header_slow(skb, hlen, 0);
|
|
|
if (unlikely(!eth)) {
|
|
|
@@ -5735,6 +5734,7 @@ static struct sk_buff *napi_frags_skb(struct napi_struct *napi)
|
|
|
return NULL;
|
|
|
}
|
|
|
} else {
|
|
|
+ eth = (const struct ethhdr *)skb->data;
|
|
|
gro_pull_from_frag0(skb, hlen);
|
|
|
NAPI_GRO_CB(skb)->frag0 += hlen;
|
|
|
NAPI_GRO_CB(skb)->frag0_len -= hlen;
|