diff options
| author | 2026-10-03 17:21:01 +0800 | |
|---|---|---|
| committer | 2026-10-12 18:00:35 -0700 | |
| commit | 94c7b50351fd30e1dfe1b4051197a1445d8547e1 (patch) | |
| tree | d7cb1161be50ac76518871bc6aba2fadd3bce7b5 /scripts/Makefile.thinlto | |
| parent | wifi: ath11k: avoid IDR mutation during vif mgmt TX cleanup (diff) | |
wifi: ath12k: 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: 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-5-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
