]> 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)
commitb07ddd47e3a69235c0e6b4738db91d6425bb6579
tree709e9c81eba18202588852e39d66fcf893334451
parent43d07c3d4d7c0571a240160924de1698e1d849a8
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