]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Move call to mpp_path_lookup inside RCU-read section
authorJavier Cardona <javier@cozybit.com>
Tue, 3 May 2011 23:57:17 +0000 (16:57 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 11 May 2011 18:50:35 +0000 (14:50 -0400)
commitb3d68956a7323070f1af35cb6f71b2c29270e56d
tree035b490c6db1cf1f17e38adf66aab103540ff735
parentfe0d52e6eb9a8565af3d6053f9ec3ebcb626ef4b
mac80211: Move call to mpp_path_lookup inside RCU-read section

PROVE_RCU caught that one:

[  431.214070] ===================================================
[  431.215341] [ INFO: suspicious rcu_dereference_check() usage. ]
[  431.215674] ---------------------------------------------------
[  431.216043] net/mac80211/mesh_pathtbl.c:184 invoked
rcu_dereference_check() without protection!

Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c