diff options
author | Hemanth Puranik | 2018-03-06 08:18:06 +0530 |
---|---|---|
committer | David S. Miller | 2018-03-07 12:21:03 -0500 |
commit | cc5db3150e87fe7f7e947bf333b6c1c97f848ecb (patch) | |
tree | 159cc5f39b05a5fff4b3055681d72c0f3289e7a9 /drivers/misc | |
parent | 9de506a547c0d172d13a91d69b1a399e6a2c0efa (diff) |
net: qcom/emac: Use proper free methods during TX
This patch fixes the warning messages/call traces seen if DMA debug is
enabled, In case of fragmented skb's memory was allocated using
dma_map_page but freed using dma_unmap_single. This patch modifies buffer
allocations in TX path to use dma_map_page in all the places and
dma_unmap_page while freeing the buffers.
Signed-off-by: Hemanth Puranik <hpuranik@codeaurora.org>
Acked-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions