netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 20/24] NET: e1000: Update truesize with the length of the packet for packet split
       [not found] ` <20060428001557.GA18750@kroah.com>
@ 2006-04-28  0:22   ` Greg KH
  0 siblings, 0 replies; only message in thread
From: Greg KH @ 2006-04-28  0:22 UTC (permalink / raw)
  To: linux-kernel, stable, jgarzik
  Cc: Justin Forbes, Zwane Mwaikambo, Theodore Ts'o, Randy Dunlap,
	Dave Jones, Chuck Wolber, torvalds, akpm, alan, netdev,
	jesse.brandeburg, john.ronciak, Jeffrey.t.kirsher, auke, davem,
	Auke Kok, Greg Kroah-Hartman

[-- Attachment #1: net-e1000-update-truesize-with-the-length-of-the-packet-for-packet-split.patch --]
[-- Type: text/plain, Size: 764 bytes --]

-stable review patch.  If anyone has any objections, please let us know.

------------------

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
 drivers/net/e1000/e1000_main.c |    1 +
 1 file changed, 1 insertion(+)

--- linux-2.6.16.11.orig/drivers/net/e1000/e1000_main.c
+++ linux-2.6.16.11/drivers/net/e1000/e1000_main.c
@@ -3851,6 +3851,7 @@ e1000_clean_rx_irq_ps(struct e1000_adapt
 			skb_shinfo(skb)->nr_frags++;
 			skb->len += length;
 			skb->data_len += length;
+			skb->truesize += length;
 		}
 
 		e1000_rx_checksum(adapter, staterr,

--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-28  0:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20060428001226.204293000@quad.kroah.org>
     [not found] ` <20060428001557.GA18750@kroah.com>
2006-04-28  0:22   ` [patch 20/24] NET: e1000: Update truesize with the length of the packet for packet split Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).