aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e/netdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e1000e/netdev.c')
-rw-r--r--drivers/net/e1000e/netdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index 38694c79edcc..9043f1b845fe 100644
--- a/drivers/net/e1000e/netdev.c
+++ b/drivers/net/e1000e/netdev.c
@@ -3916,7 +3916,7 @@ static int e1000_tx_map(struct e1000_adapter *adapter,
3916 buffer_info->length = size; 3916 buffer_info->length = size;
3917 buffer_info->time_stamp = jiffies; 3917 buffer_info->time_stamp = jiffies;
3918 buffer_info->next_to_watch = i; 3918 buffer_info->next_to_watch = i;
3919 buffer_info->dma = map[0] + offset; 3919 buffer_info->dma = skb_shinfo(skb)->dma_head + offset;
3920 count++; 3920 count++;
3921 3921
3922 len -= size; 3922 len -= size;
@@ -3947,7 +3947,7 @@ static int e1000_tx_map(struct e1000_adapter *adapter,
3947 buffer_info->length = size; 3947 buffer_info->length = size;
3948 buffer_info->time_stamp = jiffies; 3948 buffer_info->time_stamp = jiffies;
3949 buffer_info->next_to_watch = i; 3949 buffer_info->next_to_watch = i;
3950 buffer_info->dma = map[f + 1] + offset; 3950 buffer_info->dma = map[f] + offset;
3951 3951
3952 len -= size; 3952 len -= size;
3953 offset += size; 3953 offset += size;