]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Fix possible race between sta_unblock and network softirq
authorHelmut Schaa <helmut.schaa@googlemail.com>
Tue, 17 Jan 2012 08:22:49 +0000 (09:22 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Jan 2012 15:12:27 +0000 (10:12 -0500)
commitb6e6a0796f0eb0aa99aa22aeedb0e4eca005f56e
tree02fc04707eb974cf28bcac4e2fa0583dc4bfdd39
parent2676ef50bacc93eb40fcf40b91ef989ed3c3bd33
mac80211: Fix possible race between sta_unblock and network softirq

All other code paths in sta_unblock synchronize with the network
softirq by using local_bh_disable/enable. Do the same around
ieee80211_sta_ps_deliver_wakeup.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/sta_info.c