]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mac80211: use synchronize_net() on key destroying
authorEliad Peller <eliad@wizery.com>
Wed, 5 Sep 2012 17:23:56 +0000 (20:23 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 6 Sep 2012 15:29:23 +0000 (17:29 +0200)
commit964b19f9770cd8d299fa99c84b0ff2e90df9c523
tree5df17ee0e4cf97ffae322708a243eb0edb9f7d23
parent761a48d2603c0ff48024bc70c129b00ec37639ed
mac80211: use synchronize_net() on key destroying

__ieee80211_key_destroy() calls synchronize_rcu() in
order to sync the tx path before destroying the key.

However, synching the tx path can be done with
synchronize_net() as well, which is usually faster
(the timing might be important for roaming scenarios).

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