]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: always try to enable SW timestamping on Linux
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 5 Jun 2017 16:47:05 +0000 (18:47 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 27 Jun 2017 13:29:01 +0000 (15:29 +0200)
commitb799cfd1c4b5b05907951d2beaa36b2afacea5e2
tree862d3da25065f0d3009d77d9a03d68c9cc3d02c7
parentb712c100d7264a92741365a158f991e29b5aa8fa
ntp: always try to enable SW timestamping on Linux

Request SW timestamps with SCM_TIMESTAMPING even if HW timestamping is
enabled. This replaces SCM_TIMESTAMP(NS) for RX and enables TX SW
timestamping on interfaces that don't support HW timestamping (or don't
have it enabled) if another interface has HW timestamping enabled.
ntp_io.c
ntp_io_linux.c