linux/drivers/block/drbd
Lars Ellenberg 17a93f3007 drbd: remove /proc/drbd before unregistering from netlink
There still exists a (theoretical) race on module unload, where
/proc/drbd may still exist, but the netlink callback has been
unregistered already, allowing drbdsetup to shout without listeners,
and get no reply.

Reorder remove_proc_entry and unregister of netlink callback.
drbdsetup first checks for existence of the proc entry,
and if that is missing, won't even try to contact the module.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2011-03-10 11:35:12 +01:00
..
drbd_actlog.c drbd: Removed 20 seconds upper bound for side-stepping 2011-03-10 11:35:09 +01:00
drbd_bitmap.c block: remove per-queue plugging 2011-03-10 08:52:07 +01:00
drbd_int.h drbd: Starting with protocol 96 we can allow app-IO while receiving the bitmap 2011-03-10 11:35:06 +01:00
drbd_main.c drbd: remove /proc/drbd before unregistering from netlink 2011-03-10 11:35:12 +01:00
drbd_nl.c drbd: New configuration parameters for dealing with network congestion 2011-03-10 11:34:45 +01:00
drbd_proc.c drbd: increase module count on /proc/drbd access 2011-03-10 11:35:11 +01:00
drbd_receiver.c drbd: Starting with protocol 96 we can allow app-IO while receiving the bitmap 2011-03-10 11:35:06 +01:00
drbd_req.c drbd: Starting with protocol 96 we can allow app-IO while receiving the bitmap 2011-03-10 11:35:06 +01:00
drbd_req.h drbd: Begin to account BIO processing time before inc_ap_bio() 2011-03-10 11:34:57 +01:00
drbd_strings.c drbd: Implemented two new connection states Ahead/Behind 2011-03-10 11:34:46 +01:00
drbd_vli.h
drbd_worker.c drbd: Make some functions static 2011-03-10 11:34:54 +01:00
drbd_wrappers.h block: remove per-queue plugging 2011-03-10 08:52:07 +01:00
Kconfig drbd: Kconfig fix 2009-12-29 17:38:28 +01:00
Makefile drbd: remove tracing bits 2009-10-01 21:17:58 +02:00