netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] e1000: skb truesize fix
@ 2006-04-26  6:12 Kok, Auke
  2006-04-26  6:16 ` [PATCH] e1000: Update truesize with the length of the packet for packet split Kok, Auke
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Kok, Auke @ 2006-04-26  6:12 UTC (permalink / raw)
  To: stable, Garzik, Jeff
  Cc: netdev, Miller, David, Ronciak, John, Brandeburg, Jesse,
	Kirsher, Jeff, Kok, Auke


Hi,

This patch was already merged in Jeff Garzik's netdev upstream branch but
needs to go into 12.6.16.y and 2.6.17rc* as it fixes a critical buffersize
skb bug that is exposed by an earlier patch by Dave Miller and Herbert
Xiu. I'm therefore resending it:

Please apply to 2.6.16.y and queue for 2.6.17-rc.

These changes are available through git. Jeff, please pull from:

git://lost.foo-projects.org/~ahkok/git/linux-2.6 skb_truesize

these patches are against
 linux-2.6.git#master 4d5c34ec7b007cfb0771a36996b009f194acbb2f


Cheers,

Auke Kok


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


--
Auke Kok <auke-jan.h.kok@intel.com>
Intel Pro(R) Ethernet Driver Group
LAN Access Division / Digital Enterprise Group 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] e1000: Update truesize with the length of the packet for packet split
  2006-04-26  6:12 [PATCH] e1000: skb truesize fix Kok, Auke
@ 2006-04-26  6:16 ` Kok, Auke
  2006-04-27 20:33   ` [stable] " Greg KH
  2006-04-26  7:31 ` [PATCH] e1000: skb truesize fix David S. Miller
  2006-04-26 10:16 ` Jeff Garzik
  2 siblings, 1 reply; 5+ messages in thread
From: Kok, Auke @ 2006-04-26  6:16 UTC (permalink / raw)
  To: stable, Garzik, Jeff
  Cc: netdev, Miller, David, Ronciak, John, Brandeburg, Jesse,
	Kirsher, Jeff, Kok, Auke


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 |    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 add8dc4..c99e878 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_adapt
 			ps_page->ps_page[j] = NULL;
 			skb->len += length;
 			skb->data_len += length;
+			skb->truesize += length;
 		}
 
 copydone:



--
Auke Kok <auke-jan.h.kok@intel.com>
Intel Pro(R) Ethernet Driver Group
LAN Access Division / Digital Enterprise Group 

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] e1000: skb truesize fix
  2006-04-26  6:12 [PATCH] e1000: skb truesize fix Kok, Auke
  2006-04-26  6:16 ` [PATCH] e1000: Update truesize with the length of the packet for packet split Kok, Auke
@ 2006-04-26  7:31 ` David S. Miller
  2006-04-26 10:16 ` Jeff Garzik
  2 siblings, 0 replies; 5+ messages in thread
From: David S. Miller @ 2006-04-26  7:31 UTC (permalink / raw)
  To: auke-jan.h.kok
  Cc: stable, jgarzik, netdev, john.ronciak, jesse.brandeburg,
	Jeffrey.t.kirsher, auke

From: "Kok, Auke" <auke-jan.h.kok@intel.com>
Date: Tue, 25 Apr 2006 23:12:30 -0700

> This patch was already merged in Jeff Garzik's netdev upstream branch but
> needs to go into 12.6.16.y and 2.6.17rc* as it fixes a critical buffersize
> skb bug that is exposed by an earlier patch by Dave Miller and Herbert
> Xiu. I'm therefore resending it:
> 
> Please apply to 2.6.16.y and queue for 2.6.17-rc.
> 
> These changes are available through git. Jeff, please pull from:
> 
> git://lost.foo-projects.org/~ahkok/git/linux-2.6 skb_truesize
> 
> these patches are against
>  linux-2.6.git#master 4d5c34ec7b007cfb0771a36996b009f194acbb2f

ACK on the -stable submission.  Jeff can take care of 2.6.17-x

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] e1000: skb truesize fix
  2006-04-26  6:12 [PATCH] e1000: skb truesize fix Kok, Auke
  2006-04-26  6:16 ` [PATCH] e1000: Update truesize with the length of the packet for packet split Kok, Auke
  2006-04-26  7:31 ` [PATCH] e1000: skb truesize fix David S. Miller
@ 2006-04-26 10:16 ` Jeff Garzik
  2 siblings, 0 replies; 5+ messages in thread
From: Jeff Garzik @ 2006-04-26 10:16 UTC (permalink / raw)
  To: Kok, Auke
  Cc: stable, netdev, Miller, David, Ronciak, John, Brandeburg, Jesse,
	Kirsher, Jeff, Kok, Auke

Kok, Auke wrote:
> Hi,
> 
> This patch was already merged in Jeff Garzik's netdev upstream branch but
> needs to go into 12.6.16.y and 2.6.17rc* as it fixes a critical buffersize
> skb bug that is exposed by an earlier patch by Dave Miller and Herbert
> Xiu. I'm therefore resending it:
> 
> Please apply to 2.6.16.y and queue for 2.6.17-rc.
> 
> These changes are available through git. Jeff, please pull from:
> 
> git://lost.foo-projects.org/~ahkok/git/linux-2.6 skb_truesize

pulled, queued for 2.6.17-rc



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [stable] [PATCH] e1000: Update truesize with the length of the packet for packet split
  2006-04-26  6:16 ` [PATCH] e1000: Update truesize with the length of the packet for packet split Kok, Auke
@ 2006-04-27 20:33   ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2006-04-27 20:33 UTC (permalink / raw)
  To: Kok, Auke
  Cc: stable, Garzik, Jeff, netdev, Brandeburg, Jesse, Ronciak, John,
	Kirsher, Jeff, Kok, Auke, Miller, David

On Tue, Apr 25, 2006 at 11:16:29PM -0700, Kok, Auke wrote:
> 
> 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>

queued to -stable.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-04-27 20:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-26  6:12 [PATCH] e1000: skb truesize fix Kok, Auke
2006-04-26  6:16 ` [PATCH] e1000: Update truesize with the length of the packet for packet split Kok, Auke
2006-04-27 20:33   ` [stable] " Greg KH
2006-04-26  7:31 ` [PATCH] e1000: skb truesize fix David S. Miller
2006-04-26 10:16 ` Jeff Garzik

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).