]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mac80211: add missing synchronize_rcu
authorJohannes Berg <johannes.berg@intel.com>
Mon, 3 Jan 2011 18:42:24 +0000 (19:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 22:46:47 +0000 (14:46 -0800)
commit5efbd432c45ff09f0cafd8f1329693d3fb802fff
tree88048b1223d557f24a1e2ec78410c91473ad216c
parentfc17a355cce36e03c43d7f06001296267f90c822
mac80211: add missing synchronize_rcu

commit d2460f4b2fa6dbdeec800414f9cf5b1fc8b71197 upstream.

commit ad0e2b5a00dbec303e4682b403bb6703d11dcdb2
Author: Johannes Berg <johannes.berg@intel.com>
Date:   Tue Jun 1 10:19:19 2010 +0200

    mac80211: simplify key locking

removed the synchronization against RCU and thus
opened a race window where we can use a key for
TX while it is already freed. Put a synchronisation
into the right place to close that window.

Reported-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/key.c