]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - net/mac80211/sta_info.h
mac80211: optimise mixed AP/VLAN station removal
authorJohannes Berg <johannes.berg@intel.com>
Wed, 4 Dec 2013 22:18:37 +0000 (23:18 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 Dec 2013 10:29:47 +0000 (11:29 +0100)
commite716251d776ce92eb5169522f565ada3deed2a2a
tree70615090a03c61e6f0d3f29b8b93e54cd8622f90
parentd778207b06ac1becd012eb689dafdf85feebb179
mac80211: optimise mixed AP/VLAN station removal

Teach sta_info_flush() to optionally also remove stations
from all VLANs associated with an AP interface to optimise
the station removal (in particular, synchronize_net().)

To not have to add the vlans argument throughout, do some
refactoring.

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