drbd: fix unlikely access after free and list corruption
authorLars Ellenberg <lars.ellenberg@linbit.com>
Tue, 14 Sep 2010 18:40:41 +0000 (20:40 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 14 Oct 2010 16:38:49 +0000 (18:38 +0200)
commit22cc37a943832c948808884604ec6f5ff2594c1d
tree5c0784f0010421c45c4fd847dac8692d03f399e6
parentaf85e8e83d160f72a10e4467852646ac08614260
drbd: fix unlikely access after free and list corruption

Various cleanup paths have been incomplete, for the very unlikely case
that we cannot allocate enough bios from process context when submitting
on behalf of the peer or resync process.

Never observed.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_receiver.c
drivers/block/drbd/drbd_worker.c
include/linux/drbd.h