Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osd/OSDMap: OSDMap CRC inconsistence with incremental CRC
OSDMap incremental update in OSD::handle_osd_map can trigger CRC inconsistence given a cluster with big and little endian nodes. The OSDMap CRC (o->get_crc()) is incorrect comparing to the OSDMap::Incremental (inc.full_crc). Fixed by using ceph_le16/32/64 instead of __u16/32/64. Fixes: https://tracker.ceph.com/issues/54320 Signed-off-by: Aliaksei Makarau <aliaksei.makarau@ibm.com>
- Loading branch information