[chrony-dev] [GIT] chrony/chrony.git branch master updated. 3.2-16-g6863e43

[ 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  6863e43269fe27ce2744eb643295f31c00ec176d (commit)
      from  de8708f331f2853fe6d349ab8e4ec8930f2b7276 (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 6863e43269fe27ce2744eb643295f31c00ec176d
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Tue Dec 12 11:03:04 2017 +0100

    client: avoid reading clock after sending request
    If chronyc sent a request which caused chronyd to step the clock (e.g.
    makestep, settime) and the second reading of the clock before calling
    select() to wait for a response happened after the clock was stepped, a
    new request could be sent immediately and chronyd would process the same
    command twice. If the second request failed (e.g. a settime request too
    close to the first request), chronyc would report an error.
    Change the submit_request() function to read the clock only once per
    select() to wait for the first response even when the clock was stepped.


Summary of changes:
 client.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)


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/