aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/DMA-API-HOWTO.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/DMA-API-HOWTO.txt b/Documentation/DMA-API-HOWTO.txt
index 2e435adfbd6b..93d90870791c 100644
--- a/Documentation/DMA-API-HOWTO.txt
+++ b/Documentation/DMA-API-HOWTO.txt
@@ -740,6 +740,11 @@ failure can be determined by:
740 */ 740 */
741 } 741 }
742 742
743Networking drivers must call dev_kfree_skb to free the socket buffer
744and return NETDEV_TX_OK if the DMA mapping fails on the transmit hook
745(ndo_start_xmit). This means that the socket buffer is just dropped in
746the failure case.
747
743 Closing 748 Closing
744 749
745This document, and the API itself, would not be in its current 750This document, and the API itself, would not be in its current