diff options
Diffstat (limited to 'drivers/net/e1000/e1000_main.c')
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index 681b738c6dac..44ba52229c73 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -3842,12 +3842,11 @@ e1000_clean_rx_irq(struct e1000_adapter *adapter, | |||
3842 | /* save the skb in buffer_info as good */ | 3842 | /* save the skb in buffer_info as good */ |
3843 | buffer_info->skb = skb; | 3843 | buffer_info->skb = skb; |
3844 | skb = new_skb; | 3844 | skb = new_skb; |
3845 | skb_put(skb, length); | ||
3846 | } | 3845 | } |
3847 | } else | 3846 | /* else just continue with the old one */ |
3848 | skb_put(skb, length); | 3847 | } |
3849 | |||
3850 | /* end copybreak code */ | 3848 | /* end copybreak code */ |
3849 | skb_put(skb, length); | ||
3851 | 3850 | ||
3852 | /* Receive Checksum Offload */ | 3851 | /* Receive Checksum Offload */ |
3853 | e1000_rx_checksum(adapter, | 3852 | e1000_rx_checksum(adapter, |