Re: [PATCH] net: qcom/emac: Use proper free methods during TX
From: David Miller
Date: Wed Mar 07 2018 - 12:23:15 EST
From: Hemanth Puranik <hpuranik@xxxxxxxxxxxxxx>
Date: Tue, 6 Mar 2018 08:18:06 +0530
> 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@xxxxxxxxxxxxxx>
Applied.