From c34250c9922f0e00f14db99c6892b81cc77083e8 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Tue, 25 Apr 2006 23:16:29 -0700 Subject: [PATCH] [PATCH] NET: e1000: Update truesize with the length of the packet for packet split Update skb with the real packet size. Signed-off-by: Jesse Brandeburg Signed-off-by: Auke Kok Signed-off-by: John Ronciak Signed-off-by: Greg Kroah-Hartman --- drivers/net/e1000/e1000_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index 84dcca3776ee..fa2940260216 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c @@ -3851,6 +3851,7 @@ e1000_clean_rx_irq_ps(struct e1000_adapter *adapter, skb_shinfo(skb)->nr_frags++; skb->len += length; skb->data_len += length; + skb->truesize += length; } e1000_rx_checksum(adapter, staterr, -- 2.39.5