e1000: Update truesize with the length of the packet for packet split
authorAuke Kok <auke-jan.h.kok@intel.com>
Wed, 26 Apr 2006 05:50:04 +0000 (22:50 -0700)
committerAuke Kok <juke-jan.h.kok@intel.com>
Wed, 26 Apr 2006 05:50:04 +0000 (22:50 -0700)
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>
drivers/net/e1000/e1000_main.c

index add8dc4aa7b04b1510b43a5c4860fe21fd011aea..c99e87838f92913ce277c9a2494955551cb79f04 100644 (file)
@@ -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: