This is an automated email from git. It was generated because a ref change was pushed to the "chrony/chrony.git" repository.
The branch, master has been updated via a2d1569455aa10a273e41eba5f79ca6210934d68 (commit) via 952c3b2528aacbdd8d82c4c6045810bdb00557a3 (commit) via d92d24ad7fbdb29cc37e5411d4cb568c1b6312cb (commit) via bc33e1cda11c93097dfa726d7dd7870dec172158 (commit) via 189bf9c53612998515c3f131925c95f0fcf9de52 (commit) via c5dde9b66a9b2b7f6885c4b4d4493ac6d21a2fd7 (commit) from 1fb60f8db80ded51691786397c72de755d22f977 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit a2d1569455aa10a273e41eba5f79ca6210934d68 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Tue Oct 26 15:40:09 2021 +0200 socket: increase message buffer length Add extra space to the socket message buffer to be able to receive maximum-length NTP-over-PTP SW/HW-timestamped messages from the Linux error queue (which are looped back as layer-2 frames). commit 952c3b2528aacbdd8d82c4c6045810bdb00557a3 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Tue Oct 26 14:41:49 2021 +0200 ntp: use previous root delay/disp in interleaved mode When calculating the root delay and dispersion of a sample measured in the interleaved mode, use the root delay and dispersion values from the previous response (to which the TX timestamp corresponds). If the TX timestamp is combined with the RX timestamp of the latest response (e.g. in the symmetric mode), use the maximum of the previous and latest root delay/dispersion. commit d92d24ad7fbdb29cc37e5411d4cb568c1b6312cb Author: Miroslav Lichvar <mlich...@redhat.com> Date: Tue Oct 26 12:22:55 2021 +0200 test: extend 122-xleave test commit bc33e1cda11c93097dfa726d7dd7870dec172158 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Mon Oct 25 17:00:28 2021 +0200 clientlog: undo clock adjustments in updated TX timestamps When the server clock was updated between saving of the RX timestamp and updating the TX timestamp, a client using interleaved mode with the four timestamps which minimize error in measured delay (e.g. chrony) had the server clock adjustment included in the measured delay, which could disrupt the sample filtering and weighting. Add a handler to track the slew epoch and remember the last offset. Undo the adjustment in TX timestamps which have their RX timestamp in the previous epoch to fix the delay observed by the clients. If an unknown clock step is detected, drop all timestamps. commit 189bf9c53612998515c3f131925c95f0fcf9de52 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Mon Oct 25 10:23:41 2021 +0200 ntp: don't save timestamps if transmit_packet() failed Don't save server RX and TX timestamp to clientlog if the transmission or authentication failed (e.g. packet is handled in ntp_signd). They will not be needed. commit c5dde9b66a9b2b7f6885c4b4d4493ac6d21a2fd7 Author: Miroslav Lichvar <mlich...@redhat.com> Date: Mon Oct 25 10:18:27 2021 +0200 ntp: initialize saved TX timestamp Zero the initial TX timestamp which is saved for the interleaved mode in case there is no previous timestamp saved in clientlog and transmit_packet() does not generate a new one (e.g. due to failure in authentication). Fixes: 5f4cbaab7e0e ("ntp: optimize detection of clients using interleaved mode") ----------------------------------------------------------------------- Summary of changes: clientlog.c | 50 +++++++++++++++++++++++++++++++++++++++++++++- clientlog.h | 1 + ntp_core.c | 45 +++++++++++++++++++++++++++++------------ socket.c | 15 +++++++++----- test/simulation/122-xleave | 22 ++++++++++++++++++++ test/unit/clientlog.c | 36 ++++++++++++++++++++++++++++++++- 6 files changed, 149 insertions(+), 20 deletions(-) hooks/post-receive -- chrony/chrony.git -- To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe" in the subject. For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the subject. Trouble? Email listmas...@chrony.tuxfamily.org.