]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: RCU-ify link STA pointers
authorJohannes Berg <johannes.berg@intel.com>
Wed, 15 Jun 2022 07:20:45 +0000 (09:20 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Jun 2022 10:57:08 +0000 (12:57 +0200)
commit5b11240217d9287fd70786c76e127e214f0fa416
tree1e29e5b76bc2b04a6a3e93f9b362f3380b60558b
parentd0201781bab1868fa819501633495d998ec649b4
wifi: mac80211: RCU-ify link STA pointers

We need to be able to access these in a race-free way under
traffic while adding/removing them, so RCU-ify the pointers.
This requires passing a link_sta to a lot of functions so
we don't have to do the RCU handling everywhere.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
17 files changed:
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/chan.c
net/mac80211/eht.c
net/mac80211/he.c
net/mac80211/ht.c
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/mesh_plink.c
net/mac80211/mlme.c
net/mac80211/rate.c
net/mac80211/rx.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h
net/mac80211/tdls.c
net/mac80211/vht.c