From: Auke Kok Date: Wed, 26 Apr 2006 05:50:04 +0000 (-0700) Subject: e1000: Update truesize with the length of the packet for packet split X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bcb49197ed9a2e8a0a8d990723dccfccffa7566f;p=openwrt%2Fstaging%2Fblogic.git e1000: Update truesize with the length of the packet for packet split Update skb with the real packet size. Signed-off-by: Jesse Brandeburg Signed-off-by: Auke Kok Signed-off-by: John Ronciak --- diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index add8dc4aa7b0..c99e87838f92 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c @@ -3768,6 +3768,7 @@ e1000_clean_rx_irq_ps(struct e1000_adapter *adapter, ps_page->ps_page[j] = NULL; skb->len += length; skb->data_len += length; + skb->truesize += length; } copydone: