]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/mac80211/iface.c
mac80211: don't delay station destruction
authorJohannes Berg <johannes.berg@intel.com>
Wed, 4 Dec 2013 21:46:11 +0000 (22:46 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 Dec 2013 10:29:45 +0000 (11:29 +0100)
commitd34ba2168a3c10e7301cca06069c39865b4c3ec6
tree709e9c81eba18202588852e39d66fcf893334451
parenta710c8160dd93e981163759aad754f758850273a
mac80211: don't delay station destruction

If we can assume that stations are never referenced by the
driver after sta_state returns (and this is true since the
previous iwlmvm patch and for all other drivers) then we
don't need to delay station destruction, and don't need to
play tricks with rcu_barrier() etc.

This should speed up some scenarios like hostapd shutdown.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/mlme.c
net/mac80211/pm.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h