From: Auke Kok Date: Sat, 15 Apr 2006 02:05:06 +0000 (-0700) Subject: e1000: Update truesize with the length of the packet for packet split X-Git-Tag: v2.6.18-rc1~1115^2~102^2~5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d51b80f9224ca5b0ba1efc5a6348cd29b5c16b7;p=linux-2.6 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 2cc9955ba1..7ba1b1668b 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c @@ -3770,6 +3770,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: