aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/igb/igb_main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index 1026ef402d47..0d33378edc63 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -3926,8 +3926,10 @@ send_up:
3926 next_buffer = &rx_ring->buffer_info[i]; 3926 next_buffer = &rx_ring->buffer_info[i];
3927 3927
3928 if (!(staterr & E1000_RXD_STAT_EOP)) { 3928 if (!(staterr & E1000_RXD_STAT_EOP)) {
3929 buffer_info->skb = xchg(&next_buffer->skb, skb); 3929 buffer_info->skb = next_buffer->skb;
3930 buffer_info->dma = xchg(&next_buffer->dma, 0); 3930 buffer_info->dma = next_buffer->dma;
3931 next_buffer->skb = skb;
3932 next_buffer->dma = 0;
3931 goto next_desc; 3933 goto next_desc;
3932 } 3934 }
3933 3935