drbd: detect modification of in-flight buffers
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 10 Nov 2010 09:36:52 +0000 (10:36 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:19:08 +0000 (11:19 +0100)
commit470be44ab1841f3261a4d758450a42e6b79e9551
tree1e6532855e065408b6e838bd27fe36629fb18487
parent5f9915bbb8e0975ce99f893c29b8e89100b33399
drbd: detect modification of in-flight buffers

With data-integrity digest enabled, double-check on the sending side
for modifications by upper layers of buffers under write back,
so we can tell it appart from corruption on the "wire".

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