aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgb')
-rw-r--r--drivers/net/ixgb/ixgb_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c
index 6eb7f37a113b..9c897cf86b9f 100644
--- a/drivers/net/ixgb/ixgb_main.c
+++ b/drivers/net/ixgb/ixgb_main.c
@@ -1300,7 +1300,7 @@ ixgb_tx_map(struct ixgb_adapter *adapter, struct sk_buff *skb,
1300 buffer_info->length = size; 1300 buffer_info->length = size;
1301 WARN_ON(buffer_info->dma != 0); 1301 WARN_ON(buffer_info->dma != 0);
1302 buffer_info->time_stamp = jiffies; 1302 buffer_info->time_stamp = jiffies;
1303 buffer_info->dma = map[0] + offset; 1303 buffer_info->dma = skb_shinfo(skb)->dma_head + offset;
1304 pci_map_single(adapter->pdev, 1304 pci_map_single(adapter->pdev,
1305 skb->data + offset, 1305 skb->data + offset,
1306 size, 1306 size,
@@ -1340,7 +1340,7 @@ ixgb_tx_map(struct ixgb_adapter *adapter, struct sk_buff *skb,
1340 1340
1341 buffer_info->length = size; 1341 buffer_info->length = size;
1342 buffer_info->time_stamp = jiffies; 1342 buffer_info->time_stamp = jiffies;
1343 buffer_info->dma = map[f + 1] + offset; 1343 buffer_info->dma = map[f] + offset;
1344 buffer_info->next_to_watch = 0; 1344 buffer_info->next_to_watch = 0;
1345 1345
1346 len -= size; 1346 len -= size;