Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111334
b: refs/heads/master
c: 5988b63
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings authored and Jeff Garzik committed Sep 3, 2008
1 parent 6cbee38 commit 08fc53c
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: b9aafb0e91a079ff9438ce3c532ea46d4cd2f0fc
refs/heads/master: 5988b63a53e120a9db4439d4512f4c1b17e7170e
5 changes: 5 additions & 0 deletions trunk/drivers/net/sfc/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,11 @@ static int efx_enqueue_skb_tso(struct efx_tx_queue *tx_queue,
efx_stop_queue(tx_queue->efx);

unwind:
/* Free the DMA mapping we were in the process of writing out */
if (state.ifc.unmap_len)
pci_unmap_page(tx_queue->efx->pci_dev, state.ifc.unmap_addr,
state.ifc.unmap_len, PCI_DMA_TODEVICE);

efx_enqueue_unwind(tx_queue);
return rc2;
}
Expand Down

0 comments on commit 08fc53c

Please sign in to comment.