diff options
author | Miri Korenblit <miriam.rachel.korenblit@intel.com> | 2025-02-05 11:39:26 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2025-02-11 11:59:08 +0100 |
commit | 6c93fd502023dd919b5987ccbe990735410edd49 (patch) | |
tree | c08cb6f5b4c8bb9aa34285f8b5d8e52e59aa64db /tools/perf/scripts/python | |
parent | a883ad479dbbbab80543678389582fa90d2b9339 (diff) |
wifi: mac80211: ensure sdata->work is canceled before initialized.
This wiphy work is canceled when the iface is stopped,
and shouldn't be queued for a non-running iface.
If it happens to be queued for a non-running iface (due to a bug)
it can cause a corruption of wiphy_work_list when ieee80211_setup_sdata
is called. Make sure to cancel it in this case and warn on.
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20250205110958.99204c767c10.I84ce27a239059f6009cee197b252549a11426046@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions