wifi: mac80211: add RCU _check() link access variants
authorJohannes Berg <johannes.berg@intel.com>
Tue, 27 Sep 2022 09:39:23 +0000 (11:39 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 7 Oct 2022 13:24:13 +0000 (15:24 +0200)
commitf3630c4f82ae43682bf84e6ddcbd7e97285d4699
tree0eecde1cf965f3a60a12bc74a53d099ed7a6cc7f
parent3903963ed93dda7923144fd8b25fdfe0c3fd7437
wifi: mac80211: add RCU _check() link access variants

We might sometimes need to use RCU and locking in the same code
path, so add the two variants link_conf_dereference_check() and
link_sta_dereference_check().

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h