aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000/e1000_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e1000/e1000_main.c')
-rw-r--r--drivers/net/e1000/e1000_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
index 05e87a59f1c6..8d36743c8140 100644
--- a/drivers/net/e1000/e1000_main.c
+++ b/drivers/net/e1000/e1000_main.c
@@ -2998,7 +2998,7 @@ static int e1000_tx_map(struct e1000_adapter *adapter,
2998 size -= 4; 2998 size -= 4;
2999 2999
3000 buffer_info->length = size; 3000 buffer_info->length = size;
3001 buffer_info->dma = map[0] + offset; 3001 buffer_info->dma = skb_shinfo(skb)->dma_head + offset;
3002 buffer_info->time_stamp = jiffies; 3002 buffer_info->time_stamp = jiffies;
3003 buffer_info->next_to_watch = i; 3003 buffer_info->next_to_watch = i;
3004 3004
@@ -3039,7 +3039,7 @@ static int e1000_tx_map(struct e1000_adapter *adapter,
3039 size -= 4; 3039 size -= 4;
3040 3040
3041 buffer_info->length = size; 3041 buffer_info->length = size;
3042 buffer_info->dma = map[f + 1] + offset; 3042 buffer_info->dma = map[f] + offset;
3043 buffer_info->time_stamp = jiffies; 3043 buffer_info->time_stamp = jiffies;
3044 buffer_info->next_to_watch = i; 3044 buffer_info->next_to_watch = i;
3045 3045