Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263939
b: refs/heads/master
c: 33a48ab
h: refs/heads/master
i:
  263937: 5b15c33
  263935: 2aeffdc
v: v3
  • Loading branch information
Brian King authored and David S. Miller committed Sep 16, 2011
1 parent af96755 commit aa9019d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 52b9aca7ae8726d1fb41b97dd1d243d107fef11b
refs/heads/master: 33a48ab105a75d37021e422a0a3283241099b142
7 changes: 6 additions & 1 deletion trunk/drivers/net/ibmveth.c
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,12 @@ static netdev_tx_t ibmveth_start_xmit(struct sk_buff *skb,
netdev->stats.tx_bytes += skb->len;
}

for (i = 0; i < skb_shinfo(skb)->nr_frags + 1; i++)
dma_unmap_single(&adapter->vdev->dev,
descs[0].fields.address,
descs[0].fields.flags_len & IBMVETH_BUF_LEN_MASK,
DMA_TO_DEVICE);

for (i = 1; i < skb_shinfo(skb)->nr_frags + 1; i++)
dma_unmap_page(&adapter->vdev->dev, descs[i].fields.address,
descs[i].fields.flags_len & IBMVETH_BUF_LEN_MASK,
DMA_TO_DEVICE);
Expand Down

0 comments on commit aa9019d

Please sign in to comment.