aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/phy/aquantia_main.c
diff options
context:
space:
mode:
authorMadalin Bucur <madalin.bucur@oss.nxp.com>2019-12-23 09:39:22 +0200
committerDavid S. Miller <davem@davemloft.net>2019-12-26 15:11:31 -0800
commitc27569fcd6e1b11bd24361346504f2995a256e4e (patch)
treea6d6860fd51f9813abba03d67f5d4cd7bf3036ad /drivers/net/phy/aquantia_main.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf (diff)
downloadwireguard-linux-c27569fcd6e1b11bd24361346504f2995a256e4e.tar.xz
wireguard-linux-c27569fcd6e1b11bd24361346504f2995a256e4e.zip
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: 8151ee88bad5 ("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>
Diffstat (limited to 'drivers/net/phy/aquantia_main.c')
0 files changed, 0 insertions, 0 deletions