Re: [PATCH] net: gemini: Fix memory leak in gmac_setup_txqs

From: David Miller
Date: Mon Dec 16 2019 - 19:27:40 EST


From: Navid Emamdoost <navid.emamdoost@xxxxxxxxx>
Date: Sat, 14 Dec 2019 19:10:44 -0600

> In the implementation of gmac_setup_txqs() the allocated desc_ring is
> leaked if TX queue base is not aligned. Release it via
> dma_free_coherent.
>
> Fixes: 4d5ae32f5e1e ("net: ethernet: Add a driver for Gemini gigabit ethernet")
> Signed-off-by: Navid Emamdoost <navid.emamdoost@xxxxxxxxx>

Applied and queued up for -stable, thanks.