]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: check software timestamps on Linux
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 23 Sep 2021 11:00:24 +0000 (13:00 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 23 Sep 2021 13:51:35 +0000 (15:51 +0200)
commit127826a399826b048c3b13d04771129b6f4f373d
treef3a02848391fb66135c4966c9c2c2fd3c44e66c9
parent7ee5f4888e59f46539b3a965c82a511c64bb44e2
ntp: check software timestamps on Linux

Apparently some routers with hardware NAT acceleration have a bug
causing the kernel timestamps to be corrupted and break NTP. Similarly
to the sanity check applied to hardware timestamps, require the
kernel/driver timestamps to be within one second of the daemon timestamp
to be accepted.
ntp_io_linux.c