summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2006-04-25 22:50:04 -0700
committerAuke Kok <juke-jan.h.kok@intel.com>2006-04-25 22:50:04 -0700
commitbcb49197ed9a2e8a0a8d990723dccfccffa7566f (patch)
treea4148a9b2ef16cf8393e1e5f5eae08d4205e2c67 /drivers
parent4d5c34ec7b007cfb0771a36996b009f194acbb2f (diff)
downloadblackbird-op-linux-bcb49197ed9a2e8a0a8d990723dccfccffa7566f.tar.gz
blackbird-op-linux-bcb49197ed9a2e8a0a8d990723dccfccffa7566f.zip
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 add8dc4aa7b0..c99e87838f92 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:
OpenPOWER on IntegriCloud