Skip to content

Commit

Permalink
e1000: Update truesize with the length of the packet for packet split
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ahkok authored and Auke Kok committed Apr 26, 2006
1 parent 4d5c34e commit bcb4919
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/e1000/e1000_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3768,6 +3768,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:
Expand Down

0 comments on commit bcb4919

Please sign in to comment.