]> git.baikalelectronics.ru Git - kernel.git/commit
Fix potential scheduling while atomic in mesh_path_add.
authorPavel Emelyanov <xemul@openvz.org>
Tue, 6 May 2008 14:51:31 +0000 (18:51 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 May 2008 01:22:19 +0000 (21:22 -0400)
commit318038d1d9917a5d6de83daedab756e7fb2567e2
treebf731ba146332b201c79e28629fe74262b7bff5c
parent4bbc933a8bed927ada7ce4c9c6fce628dc4aa60b
Fix potential scheduling while atomic in mesh_path_add.

Calling synchronize_rcu() under write-lock-ed pathtbl_resize_lock may
result in this warning (and other side effects).

It looks safe just dropping this lock before calling synchronize_rcu.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_pathtbl.c