]> Pileus Git - ~andy/linux/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)
commit7907c7d33c3733b2265dadc6385fe028af72b4c7
tree820eefc2cecdc675d9346f46e438a19318814ea0
parente716251d776ce92eb5169522f565ada3deed2a2a
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