Branch: refs/heads/stable1 Home: https://github.com/kronosnet/kronosnet Commit: c7610532347b53c0774dbca0bc98440fe599637c https://github.com/kronosnet/kronosnet/commit/c7610532347b53c0774dbca0bc9844... Author: Christine Caulfield ccaulfie@redhat.com Date: 2024-12-02 (Mon, 02 Dec 2024)
Changed paths: M libknet/internals.h M libknet/links.c M libknet/threads_rx.c M libknet/transport_common.c M libknet/transport_common.h M libknet/transport_sctp.c M libknet/transport_udp.c
Log Message: ----------- Check packets come from the correct interface https://github.com/corosync/corosync/issues/750
Commit: 5d4bde7d794cd35cc24774216dbc7344c35549eb https://github.com/kronosnet/kronosnet/commit/5d4bde7d794cd35cc24774216dbc73... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2024-12-02 (Mon, 02 Dec 2024)
Changed paths: M libknet/links.c
Log Message: ----------- Convert time_t to unsigned long long before formatting (#431)
Conventionally it's signed long under the GNU C library, which is 32 bits on 32-bit architectures, but Glibc provides the __TIME_BITS==64 option, which makes it signed long long instead (64 bits) and makes no difference on 64-bit architectures [1]. Since the ping_interval and pong_timeout members of struct knet_link are unsigned, we can make this conversion safe by rejecting negative values as well (besides zero). In the end this enables using the uniform %llu conversion specifier across all supported architectures. This got exposed by Debian recently transitioning to 64-bit time_t [2].
[1] https://sourceware.org/glibc/wiki/Y2038ProofnessDesign [2] https://wiki.debian.org/ReleaseGoals/64bit-time
Signed-off-by: Ferenc Wágner wferi@debian.org Co-authored-by: Ferenc Wágner wferi@debian.org
Commit: 40d33fb3d45b522d73ae315fe188a14c11f28cd4 https://github.com/kronosnet/kronosnet/commit/40d33fb3d45b522d73ae315fe188a1... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2024-12-02 (Mon, 02 Dec 2024)
Changed paths: M libknet/internals.h M libknet/links.c M libknet/threads_rx.c M libknet/transport_common.c M libknet/transport_common.h M libknet/transport_sctp.c M libknet/transport_udp.c
Log Message: ----------- Merge pull request #429 from kronosnet/stable1-proposed
stable1 proposed
Compare: https://github.com/kronosnet/kronosnet/compare/f7da2b565a7d...40d33fb3d45b
To unsubscribe from these emails, change your notification settings at https://github.com/kronosnet/kronosnet/settings/notifications