drbd: explicitly clear unused dp_flags in drbd_send_block
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 8 Feb 2012 14:32:51 +0000 (15:32 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:58:15 +0000 (16:58 +0100)
commitb17f33cb0abe61942083444fa6d218d7ca147773
tree823676aa71ad472772eed201a5bf794e046abd2b
parent4d0fc3fdc3144b974888bb06efad69a0eb85719a
drbd: explicitly clear unused dp_flags in drbd_send_block

We send left-over garbage from the previous packet in P_DATA_REPLY and
P_RS_DATA_REPLY packets. That's bad behaviour.

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