]> git.ipfire.org Git - thirdparty/chrony.git/commit
local: cancel remaining correction after external step
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 12 May 2022 09:53:15 +0000 (11:53 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 16 May 2022 14:28:36 +0000 (16:28 +0200)
commit9cc609c4b0679f6a22d08da4ea3644ea96035d9d
tree9e7bd6d14480383f623167ca31a1f3da75cd87b3
parenta0a496dcb423387e5faa3ab41e14dd6cf7743776
local: cancel remaining correction after external step

Instead of the generic clock driver silently zeroing the remaining
offset after detecting an external step, cancel it properly with the
slew handlers in order to correct timestamps that are not reset in
handling of the unknown step (e.g. the NTP local TX).
local.c
sys_generic.c