mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 01:15:08 -05:00
If all or most SHM/SOCK samples collected in a polling interval had the same local timestamp, the dispersion could end up as nan, which could trigger an assert failure later in the code. Before accumulating a refclock sample, check if the timestamp is newer than the previous one.
26 KiB
26 KiB