]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
detect_time_jump nitpick doc: note the Linux 4.17 change
authorVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 19 Oct 2018 14:41:47 +0000 (16:41 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 21 Nov 2018 13:26:58 +0000 (14:26 +0100)
modules/detect_time_jump/detect_time_jump.lua

index 68bedb3c71642f7e227bf00f371d00705d61aef0..65ae06075429a5d98cdffa521306fe127a4f2fcf 100644 (file)
@@ -20,6 +20,7 @@ local function check_time()
                )
                cache.clear()
        elseif -jump_backward > mod.threshold then
+               -- On Linux 4.17+ this shouldn't happen anymore: https://lwn.net/Articles/751482/
                log("Detected forward time jump.  (Suspend-resume, possibly.)")
                cache.checkpoint(true)
        end