]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: free all AP/VLAN keys at once
authorJohannes Berg <johannes.berg@intel.com>
Wed, 4 Dec 2013 22:47:09 +0000 (23:47 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 Dec 2013 10:29:48 +0000 (11:29 +0100)
commit9a4c41a43c62734c6b820b507a16f57cb3c04fc0
tree820eefc2cecdc675d9346f46e438a19318814ea0
parentcf8dc14df49b73cb98883a6d42d359c7d012c93b
mac80211: free all AP/VLAN keys at once

When the AP interface is stopped, free all AP and VLAN keys at
once to only require synchronize_net() once. Since that does
synchronize_net(), also move two such calls into the function
(using the new force_synchronize parameter) to avoid doing it
twice.

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