Magellan Linux

Contents of /trunk/kernel26-magellan/patches-2.6.16-r10/0120-2.6.16.12-e1000.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 70 - (show annotations) (download)
Thu May 11 19:09:22 2006 UTC (18 years ago) by niro
File size: 962 byte(s)
import

1 From: Auke Kok <auke-jan.h.kok@intel.com>
2 Date: Wed, 26 Apr 2006 06:16:29 +0000 (-0700)
3 Subject: [PATCH] NET: e1000: Update truesize with the length of the packet for packet split
4 X-Git-Url: http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.16.y.git;a=commitdiff;h=c34250c9922f0e00f14db99c6892b81cc77083e8
5
6 [PATCH] NET: e1000: Update truesize with the length of the packet for packet split
7
8 Update skb with the real packet size.
9
10 Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
11 Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
12 Signed-off-by: John Ronciak <john.ronciak@intel.com>
13 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 ---
15
16 --- a/drivers/net/e1000/e1000_main.c
17 +++ b/drivers/net/e1000/e1000_main.c
18 @@ -3851,6 +3851,7 @@ e1000_clean_rx_irq_ps(struct e1000_adapt
19 skb_shinfo(skb)->nr_frags++;
20 skb->len += length;
21 skb->data_len += length;
22 + skb->truesize += length;
23 }
24
25 e1000_rx_checksum(adapter, staterr,