wifi: mac80211: allow for_each_sta_active_link() under RCU
authorJohannes Berg <johannes.berg@intel.com>
Wed, 20 Sep 2023 18:25:16 +0000 (21:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Sep 2023 07:12:33 +0000 (09:12 +0200)
commite865c827e9da4d4740746b3fa1e321fab5482e12
tree63cb6b79aac5e6e37aaddd7765022c4f53017ba3
parent8a58fc1ce487a77dc9c87e12682b5297e4a030fa
wifi: mac80211: allow for_each_sta_active_link() under RCU

Since we only use this to protect the dereference and with
STA mutex, we can also allow this with just RCU.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230920211508.73c3e04985f4.I52ef396d693e0e381a73eade06850137d8900948@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h