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.mmlx.us/?a=commitdiff_plain;h=bcb49197ed9a2e8a0a8d990723dccfccffa7566f;p=linux-edison.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 add8dc4aa7b..c99e87838f9 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: