diff options
author | Auke Kok <auke-jan.h.kok@intel.com> | 2006-04-14 19:05:06 -0700 |
---|---|---|
committer | Auke Kok <auke-jan.h.kok@intel.com> | 2006-04-14 19:05:06 -0700 |
commit | 5d51b80f9224ca5b0ba1efc5a6348cd29b5c16b7 (patch) | |
tree | c6748fb719c9da8dc7124b7cccccf6cf31394000 /drivers/net/e1000 | |
parent | fe7fe28ea581e090d2908a0d78a2611ae6d43e2c (diff) | |
download | blackbird-op-linux-5d51b80f9224ca5b0ba1efc5a6348cd29b5c16b7.tar.gz blackbird-op-linux-5d51b80f9224ca5b0ba1efc5a6348cd29b5c16b7.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/net/e1000')
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 1 |
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: |