diff options
| author | 2026-10-03 17:21:02 +0800 | |
|---|---|---|
| committer | 2026-10-12 18:00:36 -0700 | |
| commit | 4aa45334eb23d40bf31c43405daea9b73469f2a6 (patch) | |
| tree | e19565822eed8ab5a15e936fa8ff70163632f781 /scripts/Makefile.thinlto | |
| parent | wifi: ath12k: avoid IDR mutation during pending mgmt TX cleanup (diff) | |
wifi: ath12k: avoid IDR mutation during vif mgmt TX cleanup
ath12k_mac_vdev_delete() walks txmgmt_idr with idr_for_each(), and its
callback removes each entry belonging to the interface. Removing the
current entry can invalidate the radix-tree iterator retained by
idr_for_each().
Move the walk into a helper that uses idr_for_each_entry(). It performs a
fresh lookup for every iteration, so each matching entry can be removed
through the locked removal helper without retaining iterator state across
the removal.
Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
Signed-off-by: Jiale Yao <yaojiale02@163.com>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Reviewed-by: Rameshkumar Sundaram <rameshkumar.sundaram@oss.qualcomm.com>
Link: https://patch.msgid.link/20261003092104.520135-6-yaojiale02@163.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
