[chrony-dev] [GIT] chrony/chrony.git branch master updated. 4.4-pre1-20-gb90d2c0

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


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  b90d2c084fe9ee398fcb7b8e6e636508dbc51de3 (commit)
       via  ab8da7ecb9c1680ec0cf46aba1bc34e1d27d4b14 (commit)
       via  05809e937c6ef00c5411869cd8c95a674fdf9745 (commit)
       via  8265fe2e304dd66644531b039e5b2b8e0f86e5ca (commit)
       via  c11a0529557d48c1471c7620319ca527c6366585 (commit)
       via  109970f687a5f2735c913e6f28c290a93a216439 (commit)
      from  ca10b9e0722acc5f055261e2337d48b930dbf114 (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 b90d2c084fe9ee398fcb7b8e6e636508dbc51de3
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Tue Jun 6 12:02:53 2023 +0200

    ntp: randomize replacement interval
    
    Replacement attempts are globally rate limited to one per 7*2^8 seconds
    to limit the rate of DNS requests for public servers like pool.ntp.org.
    If multiple sources are repeatedly attempting replacement (at their
    polling intervals), one source can be getting all attempts for periods
    of time.
    
    Use a randomly generated interval to randomize the order of source
    replacements without changing the average rate.

commit ab8da7ecb9c1680ec0cf46aba1bc34e1d27d4b14
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Tue Jun 6 10:40:51 2023 +0200

    ntp: use monotonic time for replacement interval
    
    Avoid errors in the measured interval due to clock steps.

commit 05809e937c6ef00c5411869cd8c95a674fdf9745
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Mon Jun 5 15:18:27 2023 +0200

    ntp: add debug message for bad sources

commit 8265fe2e304dd66644531b039e5b2b8e0f86e5ca
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Thu Jun 8 16:04:21 2023 +0200

    client: check for allocation errors in tab completition

commit c11a0529557d48c1471c7620319ca527c6366585
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Mon Jun 5 16:10:46 2023 +0200

    client: avoid passing uninitialized address to format_name()
    
    The clang memory sanitizer seems to trigger on an uninitialized value
    passed to format_name() when the source is a refclock, even though the
    value is not used for anything. Pass 0 in this case to avoid the error.

commit 109970f687a5f2735c913e6f28c290a93a216439
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Mon Jun 5 15:40:22 2023 +0200

    memory: use free() instead of realloc() for size 0
    
    valgrind 3.21.0 reports realloc() of 0 bytes as an error due to having
    different behavior on different systems. The only place where this can
    happen in chrony is the array, which doesn't care what value realloc()
    returns.
    
    Modify the realloc wrapper to call free() in this case to make valgrind
    happy.

-----------------------------------------------------------------------

Summary of changes:
 client.c                |  9 ++++-----
 memory.c                |  7 ++++++-
 ntp_sources.c           | 18 ++++++++++--------
 sources.c               |  1 +
 test/simulation/139-nts |  4 ++--
 5 files changed, 23 insertions(+), 16 deletions(-)


hooks/post-receive
-- 
chrony/chrony.git

-- 
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/