[Swan-commit] Changes to ref refs/heads/master
Andrew Cagney
cagney at vault.libreswan.fi
Sat Dec 23 14:12:13 UTC 2017
New commits:
commit 83e837818e0a7059685ab31ad44db456aee07b4a
Author: Andrew Cagney <cagney at gnu.org>
Date: Mon Dec 18 17:46:36 2017 -0500
timers: increase monotime monotime_t's precision
With 1-second precision, truncation often resulted in a lost
retransmit and a failing test. For instance:
timeout = 5 seconds
start = 10.999 seconds
retransmit delays: 0.5 + 0.5 + 1 + 2 = 4 seconds
now = 15.000 seconds
using monotime the difference is either:
15 - 10 = 5 finished
15.000 - 10.999 = 4.001 continue
sub-second precision helps to mitigates this (of course it can't help
with a retransmit being lost because things are being slow).
More information about the Swan-commit
mailing list