aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorLv Yunlong <[email protected]>2021-04-02 11:26:27 -0700
committerKalle Valo <[email protected]>2021-04-18 09:35:06 +0300
commita8e083ee8e2a6c94c29733835adae8bf5b832748 (patch)
tree1be3d1c3d9f780e79380cdbea5921b828b309d10 /tools/perf/scripts/python/flamegraph.py
parent2ff25985ea9ccc6c9af2c77b0b49045adcc62e0e (diff)
mwl8k: Fix a double Free in mwl8k_probe_hw
In mwl8k_probe_hw, hw->priv->txq is freed at the first time by dma_free_coherent() in the call chain: if(!priv->ap_fw)->mwl8k_init_txqs(hw)->mwl8k_txq_init(hw, i). Then in err_free_queues of mwl8k_probe_hw, hw->priv->txq is freed at the second time by mwl8k_txq_deinit(hw, i)->dma_free_coherent(). My patch set txq->txd to NULL after the first free to avoid the double free. Fixes: a66098daacee2 ("mwl8k: Marvell TOPDOG wireless driver") Signed-off-by: Lv Yunlong <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions