diff options
author | 2015-12-03 15:20:49 +0100 | |
---|---|---|
committer | 2015-12-04 15:01:13 -0500 | |
commit | e864b4c7b184bde36fa6a02bb3190983d2f796f9 (patch) | |
tree | ee769da432c32e72d92fabde28cb6a71bb36ff02 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | rhashtable: Prevent spurious EBUSY errors on insertion (diff) | |
download | linux-dev-e864b4c7b184bde36fa6a02bb3190983d2f796f9.tar.xz linux-dev-e864b4c7b184bde36fa6a02bb3190983d2f796f9.zip |
net: mvpp2: fix missing DMA region unmap in egress processing
The Tx descriptor release code currently calls dma_unmap_single() and
dev_kfree_skb_any() if the descriptor is associated with a non-NULL skb.
This condition is true only for the last fragment of the packet.
Since every descriptor's buffer is DMA-mapped it has to be properly
unmapped.
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Fixes: 3f518509dedc ("ethernet: Add new driver for Marvell Armada 375
network unit")
Cc: <stable@vger.kernel.org> # v3.18+
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions