]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit6d6936e2ea82ebcbdd12d489b7b5ccf430de52f1
treebf731ba146332b201c79e28629fe74262b7bff5c
parent0eb03d5a14377eecf6ed0ebf3cc2c9f48c12c7c6
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