linux/drivers/net/ethernet/freescale/dpaa
Madalin Bucur c27569fcd6 dpaa_eth: fix DMA mapping leak
On the error path some fragments remain DMA mapped. Adding a fix
that unmaps all the fragments. Rework cleanup path to be simpler.

Fixes: 8151ee88ba ("dpaa_eth: use page backed rx buffers")
Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-12-26 15:11:31 -08:00
..
dpaa_eth_sysfs.c dpaa_eth: use only one buffer pool per interface 2019-10-31 12:13:33 -07:00
dpaa_eth_trace.h dpaa_eth: add trace points 2016-11-15 22:34:25 -05:00
dpaa_eth.c dpaa_eth: fix DMA mapping leak 2019-12-26 15:11:31 -08:00
dpaa_eth.h dpaa_eth: use only one buffer pool per interface 2019-10-31 12:13:33 -07:00
dpaa_ethtool.c dpaa_eth: remove netdev_err() for user errors 2019-10-31 12:13:34 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00