Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 11a54d069bc0cae1656f040990dbbb9fb6ce1a07
https://github.com/fabbione/kronosnet/commit/11a54d069bc0cae1656f040990dbbb…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2010-11-21 (Sun, 21 Nov 2010)
Changed paths:
M ring.c
M ring.h
M tests/ping_test.c
Log Message:
-----------
ring: fix ping calculation for good
finally I have been able to reproduce the problem and it's related to
the "unknown" source in MONOTONIC clock. It can rollover making the signed
comparison useless. Force unsigned long long for the calculation that
fixes the issue.
Switching from:
Notice: timediff: -345483470 interval: 1000000
To:
Notice: timediff: 18446744073387515858 interval: 1000000
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 63cb9913f319302fb4411f882c5a93481e81b7f2
https://github.com/fabbione/kronosnet/commit/63cb9913f319302fb4411f882c5a93…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2010-11-21 (Sun, 21 Nov 2010)
Changed paths:
M ring.c
M ring.h
M tests/ping_test.c
Log Message:
-----------
ring: use long long instead of suseconds_t
it appears (but not totally sure) that suseconds_t is not easily portable.
On sparc it was showing, at random, some different behaviour.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/master
Home: https://github.com/fabbione/kronosnet
Commit: 0a1d1d076a6847f76d1e74dc37d4a5cef9a6ba6f
https://github.com/fabbione/kronosnet/commit/0a1d1d076a6847f76d1e74dc37d4a5…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2010-11-19 (Fri, 19 Nov 2010)
Changed paths:
M cfg.h
M ring.h
M vty_cli_cmds.c
Log Message:
-----------
vty: get autolisteners to work somehow...
this is getting ugly and needs cleanup
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>