linux_dsm_epyc7002/drivers/net/ethernet/cortina
Navid Emamdoost f37f710353 net: gemini: Fix memory leak in gmac_setup_txqs
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: 4d5ae32f5e ("net: ethernet: Add a driver for Gemini gigabit ethernet")
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-12-16 16:26:54 -08:00
..
gemini.c net: gemini: Fix memory leak in gmac_setup_txqs 2019-12-16 16:26:54 -08:00
gemini.h net: ethernet: Use the correct style for SPDX License Identifier 2019-10-25 19:30:31 -07:00
Kconfig net: gemini: Depend on HAS_IOMEM 2018-01-21 18:05:30 -05:00
Makefile