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-Tag: v2.6.17-rc3~11^2~7^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bcb49197ed9a2e8a0a8d990723dccfccffa7566f;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.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 add8dc4..c99e878 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: