]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: add missing synchronize_rcu
authorJohannes Berg <johannes.berg@intel.com>
Mon, 3 Jan 2011 18:42:24 +0000 (19:42 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Jan 2011 19:17:23 +0000 (14:17 -0500)
commitfce59e36a1b636669bdb717d11597709688aa414
tree01ce2bf5ec6b29143b3e0003ffbf05812f6bb7c0
parent5739d1200b7df8667e566e56406737e3fb5abdc6
mac80211: add missing synchronize_rcu

commit 1f9636a1e1a48a2cbbfe408c8834077015a973c7
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>
Cc: stable@kernel.org [2.6.36+]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/key.c