add missing state change on corrupt packet header in drbd_recv_header
commit0b33a9164aca6332bf4a117af5528dea9675d782
authorLars Ellenberg <lars.ellenberg@linbit.com>
Mon, 16 Nov 2009 14:58:04 +0000 (16 15:58 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Tue, 24 Nov 2009 17:12:13 +0000 (24 18:12 +0100)
treeed825f7c748a362429aebcdb82ce836d1fcd31b0
parent6c6c7951be7652f86109f2193651b78d90907c0d
add missing state change on corrupt packet header in drbd_recv_header

Otherwise the 'state fixup' in the receiver will change to Unconnected,
but the receiver will terminate itself, and any attempt at 'down'ing
that drbd later will block forever.

see also Bugz. #259

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