summaryrefslogtreecommitdiff
path: root/drivers/net/e1000
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2006-04-15 06:05:06 +0400
committerAuke Kok <auke-jan.h.kok@intel.com>2006-04-15 06:05:06 +0400
commit5d51b80f9224ca5b0ba1efc5a6348cd29b5c16b7 (patch)
treec6748fb719c9da8dc7124b7cccccf6cf31394000 /drivers/net/e1000
parentfe7fe28ea581e090d2908a0d78a2611ae6d43e2c (diff)
downloadlinux-5d51b80f9224ca5b0ba1efc5a6348cd29b5c16b7.tar.xz
e1000: Update truesize with the length of the packet for packet split
Update skb with the real packet size. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: John Ronciak <john.ronciak@intel.com>
Diffstat (limited to 'drivers/net/e1000')
-rw-r--r--drivers/net/e1000/e1000_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
index 2cc9955ba179..7ba1b1668bf4 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: