]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/mac80211/iface.c
mac80211: optimise AP stop RCU handling
authorJohannes Berg <johannes.berg@intel.com>
Fri, 14 Dec 2012 13:56:03 +0000 (14:56 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:31 +0000 (13:01 +0100)
commit75de9113bb9dc4939a7cd54e4bdfad555b35f5b1
treefdc5609f042781ce035e5e88272809db81f5493c
parent361c9c8b0eeeec7d881e018d5143bf883558c566
mac80211: optimise AP stop RCU handling

If there are VLANs, stopping an AP is inefficient as it
calls rcu_barrier() once for each interface (the VLANs
and the AP itself). Optimise this by moving rcu_barrier()
out of the station cleanups and calling it only once for
all interfaces combined.

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