aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-03-23 22:47:37 +0100
committerFelix Fietkau <nbd@nbd.name>2021-04-12 23:07:24 +0200
commitb4403cee6400c5f679e9c4a82b91d61aa961eccf (patch)
treeae283c2ac5dedbe6b425dce756c38af8a999f85b /tools/perf/scripts/python
parentmt76: mt7921: reduce the data latency during hw scan (diff)
downloadlinux-b4403cee6400c5f679e9c4a82b91d61aa961eccf.tar.gz
linux-b4403cee6400c5f679e9c4a82b91d61aa961eccf.zip
mt76: fix potential DMA mapping leak
With buf uninitialized in mt76_dma_tx_queue_skb_raw, its field skip_unmap could potentially inherit a non-zero value from stack garbage. If this happens, it will cause DMA mappings for MCU command frames to not be unmapped after completion Fixes: 27d5c528a7ca ("mt76: fix double DMA unmap of the first buffer on 7615/7915") Cc: stable@vger.kernel.org Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions