summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_main.c
diff options
context:
space:
mode:
authorLars Ellenberg2010-10-05 20:13:58 +0200
committerPhilipp Reisner2010-10-14 18:38:44 +0200
commit004352fa60345e499379af310de73a2df1a5762a (patch)
tree6a5e0651d30b1c7e4c0964875e44b23aad7f8ea8 /drivers/block/drbd/drbd_main.c
parentdrbd: Fixed a stupid copy and paste error (diff)
downloadkernel-qcow2-linux-004352fa60345e499379af310de73a2df1a5762a.tar.gz
kernel-qcow2-linux-004352fa60345e499379af310de73a2df1a5762a.tar.xz
kernel-qcow2-linux-004352fa60345e499379af310de73a2df1a5762a.zip
drbd: Fix regression in recv_bm_rle_bits (compressed bitmap)
We used to be16_to_cpu the length field in our received packet header. drbd commit 17c854fea474a5eb3cfa12e4fb019e46debbc4ec drbd: receiving of big packets, for payloads between 64kByte and 4GByte changed this, but forgot to adjust a few places where we relied on h->length being in native byte order. This broke the receiving side of the RLE compressed bitmap exchange. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_main.c')
0 files changed, 0 insertions, 0 deletions