]> Pileus Git - ~andy/linux/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)
commitc87820784454bbf7fc63a9e7d9c36762a46f393c
tree2b46b2dded299efa1f07e41cb9ce8ac1750a0a6c
parentd34ba2168a3c10e7301cca06069c39865b4c3ec6
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