Re: [chrony-users] NTP v4 header

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


On Fri, Apr 29, 2011 at 08:18:59PM +0200, Harald Krammer wrote:
> On time jumps an endless loop was happen in function dispatch_timeouts:
> (time jumps are around 6...12 Months)
> 
> 
> static int
> dispatch_timeouts(struct timeval *now) {
>   TimerQueueEntry *ptr;
>   int n_done = 0;
> 
>   while ((n_timer_queue_entries > 0) &&
>          (UTI_CompareTimevals(now, &(timer_queue.next->tv)) >= 0)) {

This while was replaced with if to avoid such loop, but that was
before 1.24, did you see the problem with 1.24 or later?

-- 
Miroslav Lichvar

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


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