diff options
| author | 2026-10-03 17:20:59 +0800 | |
|---|---|---|
| committer | 2026-10-12 18:00:35 -0700 | |
| commit | 3e7f5d362b2b3a21b3adb4b860aad14b69a896ad (patch) | |
| tree | 5779e94eb392b8360b6b729f1f1296a69a73edf7 /scripts/Makefile.thinlto | |
| parent | wifi: ath10k: avoid IDR mutation during TX cleanup (diff) | |
wifi: ath11k: avoid IDR mutation during pending mgmt TX cleanup
The pending management TX cleanup walks txmgmt_idr with idr_for_each(),
and its callback removes the current entry. This can invalidate the
radix-tree iterator retained by idr_for_each().
Use idr_for_each_entry() so every iteration starts with a fresh lookup.
Continue to remove each entry under txmgmt_idr_lock before freeing its skb,
preventing concurrent TX completion from finding a stale skb pointer.
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-3-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
