aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2006-04-14 22:05:06 -0400
committerAuke Kok <auke-jan.h.kok@intel.com>2006-04-14 22:05:06 -0400
commit5d51b80f9224ca5b0ba1efc5a6348cd29b5c16b7 (patch)
treec6748fb719c9da8dc7124b7cccccf6cf31394000 /drivers
parentfe7fe28ea581e090d2908a0d78a2611ae6d43e2c (diff)
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')
-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,
3770 ps_page->ps_page[j] = NULL; 3770 ps_page->ps_page[j] = NULL;
3771 skb->len += length; 3771 skb->len += length;
3772 skb->data_len += length; 3772 skb->data_len += length;
3773 skb->truesize += length;
3773 } 3774 }
3774 3775
3775copydone: 3776copydone: