drbd: fix potential protocol error
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 1 Apr 2010 14:57:19 +0000 (16:57 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 May 2010 23:07:38 +0000 (01:07 +0200)
commitc3470cde57ea34d9b4bd34891ec040e46b9fb3bf
treeb1aa11a591b7cd1cbaf3fa9abb21ec7c8050267a
parent8d1894ebe441093cfd967affcbc56b764960575e
drbd: fix potential protocol error

Don't forget to drain the digest in case we cannot satisfy a
checksum based resync or online-verify request.

It would additionally cause a protocoll error,
dropping the connection.

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