]> git.karo-electronics.de Git - linux-beck.git/commit
mac80211_hwsim: fix possible race condition in usage of info->control.sta & control.vif
authorThomas Huehn <thomas@net.t-labs.tu-berlin.de>
Tue, 17 Jul 2012 20:16:13 +0000 (22:16 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 Jul 2012 19:37:57 +0000 (15:37 -0400)
commit4581d91b7717152001192112027596fbdeec06f6
treeeca9850ffb94a18ed2b2bf3271823b1b48593eef
parentc297977ec18deb36b2c0a5ee57101f7ab736ec00
mac80211_hwsim: fix possible race condition in usage of info->control.sta & control.vif

info->control.sta and control.vif may only be dereferenced during the
drv_tx call otherwise could lead to use-after-free bugs.

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mac80211_hwsim.c