wifi: mac80211: relax RCU check in for_each_vif_active_link()
authorJohannes Berg <johannes.berg@intel.com>
Wed, 20 Sep 2023 18:25:15 +0000 (21:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Sep 2023 07:12:33 +0000 (09:12 +0200)
commit8a58fc1ce487a77dc9c87e12682b5297e4a030fa
treef0010f589934ddbb46ed4dcfb529a2d5861a6e08
parentc09c4f31998bac6d73508e38812518aceb069b68
wifi: mac80211: relax RCU check in for_each_vif_active_link()

To iterate the vif links we don't necessarily need to be in an
RCU critical section, it's also possible to hold the sdata/wdev
mutex. Annotate for_each_vif_active_link() accordingly.

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.858921bd2860.I01f456be8ce2a4fbd15e0d44302e2f7d72e91987@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h