drbd: drbd_send_ack_dp must not rely on header information
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 6 Oct 2010 09:46:55 +0000 (11:46 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 14 Oct 2010 16:38:45 +0000 (18:38 +0200)
commit2b2bf2148fd46874ee72a877c951e5c6675d1caa
tree15ec40dd736c5e7cf833deb61b6770d562fa11b5
parent004352fa60345e499379af310de73a2df1a5762a
drbd: drbd_send_ack_dp must not rely on header information

drbd commit 17c854fea474a5eb3cfa12e4fb019e46debbc4ec
drbd: receiving of big packets, for payloads between 64kByte and 4GByte
introduced a new on-the-wire packet header format.  We must no longer
assume either format, but use the result of whatever drbd_recv_header
has decoded.

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