e1000: Update truesize with the length of the packet for packet split
authorAuke Kok <auke-jan.h.kok@intel.com>
Sat, 15 Apr 2006 02:05:06 +0000 (19:05 -0700)
committerAuke Kok <auke-jan.h.kok@intel.com>
Sat, 15 Apr 2006 02:05:06 +0000 (19:05 -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 2cc9955ba17992941f1cd54292e88998766580a2..7ba1b1668bf42e1ca5a64dc304f89d81a8db3e4a 100644 (file)
@@ -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: