diff options
| author | 2026-10-03 17:21:00 +0800 | |
|---|---|---|
| committer | 2026-10-12 18:00:35 -0700 | |
| commit | dc29226dada34a6d19af77b4b51e90f8a3a8de34 (patch) | |
| tree | db3d70a6707fbd66db37b40350bc6d05ac8af1ec /scripts/Makefile.thinlto | |
| parent | wifi: ath11k: avoid IDR mutation during pending mgmt TX cleanup (diff) | |
wifi: ath11k: avoid IDR mutation during vif mgmt TX cleanup
ath11k_mac_op_remove_interface() 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: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax 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-4-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
