]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitabfb9753d541cbd21d8901dc2fe46c45399288c6
tree709e9c81eba18202588852e39d66fcf893334451
parentae9693fb20b254d854905ff64bd44447dce55845
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