diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2026-08-02 10:40:10 +0200 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-08-02 18:26:04 +0200 |
| commit | b17e206e99598e51eb7862a719620647b35347c0 (patch) | |
| tree | 62c19ae69fc650428845277c5178cdbc3bafb1d5 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | aa0069bd920a0bc02d40d84fe39e7ef478c229e8 (diff) | |
wifi: mac80211: fix RCU usage in peer probing
Converting the station and chanctx lookups to wiphy_dereference()
was correct for the function itself but removed the rcu_read_lock()
for the later transmit, which requires it, as well. Fix that.
Found with the ap_open_poll_sta hwsim test, which reports
net/mac80211/tx.c:608 suspicious rcu_dereference_check() usage!
(and four more like it).
Fixes: 1c3f880ed00e ("wifi: mac80211: implement STA-mode peer probing")
Link: https://patch.msgid.link/20260802104010.6c09477032c4.If024b480b96bf9fe7baa821ed48b80be322d1e44@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
