]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: move synchronize_net() before sta key removal
authorJohannes Berg <johannes.berg@intel.com>
Wed, 4 Dec 2013 22:05:45 +0000 (23:05 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 Dec 2013 10:29:46 +0000 (11:29 +0100)
commit587bc8a6418ff1e3dee54dd06d77e97b1426ff91
tree2b46b2dded299efa1f07e41cb9ce8ac1750a0a6c
parentabfb9753d541cbd21d8901dc2fe46c45399288c6
mac80211: move synchronize_net() before sta key removal

There's no reason to do this inside the sta key removal
since the keys can only be reached through the sta (and
not by the driver at all) so once the sta can no longer
be reached, the keys are safe.

This will allow further optimisation opportunities with
multiple stations.

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