Commit c34250c9 authored by Auke Kok's avatar Auke Kok Committed by Greg Kroah-Hartman

[PATCH] NET: e1000: Update truesize with the length of the packet for packet split

Update skb with the real packet size.
Signed-off-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: default avatarAuke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: default avatarJohn Ronciak <john.ronciak@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b00f098c
......@@ -3851,6 +3851,7 @@ e1000_clean_rx_irq_ps(struct e1000_adapter *adapter,
skb_shinfo(skb)->nr_frags++;
skb->len += length;
skb->data_len += length;
skb->truesize += length;
}
e1000_rx_checksum(adapter, staterr,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment