New commits:
commit 83e837818e0a7059685ab31ad44db456aee07b4a
Author: Andrew Cagney <[email protected]>
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).

_______________________________________________
Swan-commit mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-commit

Reply via email to