diff options
author | Johannes Berg | 2022-05-05 23:04:22 +0200 |
---|---|---|
committer | Johannes Berg | 2022-05-09 14:00:07 +0200 |
commit | 9e2db50f1ef2238fc2f71c5de1c0418b7a5b0ea2 (patch) | |
tree | 1f2ce63ed6ae69ae238b5cf37615a8e1e6314f58 /net | |
parent | a59d55568d02bbbdf9c0cc15be9580180f855b4f (diff) |
mac80211_hwsim: call ieee80211_tx_prepare_skb under RCU protection
This is needed since it might use (and pass out) pointers to
e.g. keys protected by RCU. Can't really happen here as the
frames aren't encrypted, but we need to still adhere to the
rules.
Fixes: cacfddf82baf ("mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20220505230421.5f139f9de173.I77ae111a28f7c0e9fd1ebcee7f39dbec5c606770@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions