Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39209
b: refs/heads/master
c: 73fbe8b
h: refs/heads/master
i:
  39207: 08cb49c
v: v3
  • Loading branch information
Roland Dreier committed Oct 10, 2006
1 parent 92f89fa commit 54c5510
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1031bfb93adf641436b2192170525b76e2eb25bd
refs/heads/master: 73fbe8be73512b8a3ffa3d20c9d7f531af99679c
5 changes: 5 additions & 0 deletions trunk/drivers/infiniband/ulp/ipoib/ipoib_ib.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,11 @@ void ipoib_send(struct net_device *dev, struct sk_buff *skb,
tx_req->skb = skb;
addr = dma_map_single(priv->ca->dma_device, skb->data, skb->len,
DMA_TO_DEVICE);
if (unlikely(dma_mapping_error(addr))) {
++priv->stats.tx_errors;
dev_kfree_skb_any(skb);
return;
}
pci_unmap_addr_set(tx_req, mapping, addr);

if (unlikely(post_send(priv, priv->tx_head & (ipoib_sendq_size - 1),
Expand Down

0 comments on commit 54c5510

Please sign in to comment.