diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2022-05-22 15:52:51 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-22 22:18:05 +0100 |
commit | 0a09c5b8cb8f75344da7d90c771b84f7cdeaea04 (patch) | |
tree | 3bcd6b0cd1e136697e4adf991ad5d9ff80805366 /net/atm | |
parent | d5f4e19a85670b4e5697654f4a4e086e064f8a47 (diff) |
dpaa2-eth: unmap the SGT buffer before accessing its contents
DMA unmap the Scatter/Gather table before going through the array to
unmap and free each of the header and data chunks. This is so we do not
touch the data between the dma_map and dma_unmap calls.
Fixes: 3dc709e0cd47 ("dpaa2-eth: add support for software TSO")
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions