[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170130.112006.2176540808791679531.davem@davemloft.net>
Date: Mon, 30 Jan 2017 11:20:06 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: asolokha@...kras.ru
Cc: claudiu.manoil@....com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gianfar: synchronize DMA API usage by
free_skb_rx_queue w/ gfar_new_page
From: Arseny Solokha <asolokha@...kras.ru>
Date: Sun, 29 Jan 2017 19:52:20 +0700
> From: Arseny Solokha <asolokha@...kras.ru>
>
> In spite of switching to paged allocation of Rx buffers, the driver still
> called dma_unmap_single() in the Rx queues tear-down path.
>
> The DMA region unmapping code in free_skb_rx_queue() basically predates
> the introduction of paged allocation to the driver. While being refactored,
> it apparently hasn't reflected the change in the DMA API usage by its
> counterpart gfar_new_page().
>
> As a result, setting an interface to the DOWN state now yields the following:
...
> Even though the issue was discovered in 4.9 kernel, the code in question
> is identical in the current net and net-next trees.
>
> Fixes: 75354148ce69 ("gianfar: Add paged allocation and Rx S/G")
> Signed-off-by: Arseny Solokha <asolokha@...kras.ru>
Applied, thanks.
Powered by blists - more mailing lists