commit | c27569fcd6e1b11bd24361346504f2995a256e4e | [log] [tgz] |
---|---|---|
author | Madalin Bucur <madalin.bucur@oss.nxp.com> | Mon Dec 23 09:39:22 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 26 15:11:31 2019 -0800 |
tree | a6d6860fd51f9813abba03d67f5d4cd7bf3036ad | |
parent | ec34c0157580a68c10dccbdd18c7701f0b317172 [diff] |
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>