[PATCH] ctdb-protocol: Fix marshalling for GET_DB_SEQNUM control request (bug 12259)

Amitay Isaacs amitay at gmail.com
Wed Sep 14 02:09:39 UTC 2016


Hi,

The new protocol code did not marshal database id for GET_DB_SEQNUM control
correctly.
This creates a problem on big-endian architecture.

Even though database id is 32-bit, it's sent on wire as 64-bit value. Make
sure it's sent as first 32-bits.

Please review and push.

Amitay.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ctdb-protocol-Fix-marshalling-for-GET_DB_SEQNUM-cont.patch
Type: application/text
Size: 2424 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160914/e2388bb2/0001-ctdb-protocol-Fix-marshalling-for-GET_DB_SEQNUM-cont.bin>


More information about the samba-technical mailing list