]> git.ipfire.org Git - thirdparty/bind9.git/commit
Match prefetch eligibility behavior with ARM
authorAram Sargsyan <aram@isc.org>
Tue, 18 Oct 2022 12:59:47 +0000 (12:59 +0000)
committerAram Sargsyan <aram@isc.org>
Fri, 21 Oct 2022 10:22:29 +0000 (10:22 +0000)
commitbb9cc81dd49293649884610138fcfdcad3f9f803
tree084c3337ff557d49b072ee22b6b244dbb1e94e63
parent9000b43d4694d53c71c8acc9f4a4f81d623702b0
Match prefetch eligibility behavior with ARM

ARM states that the "eligibility" TTL is the smallest original TTL
value that is accepted for a record to be eligible for prefetching,
but the code, which implements the condition doesn't behave in that
manner for the edge case when the TTL is equal to the configured
eligibility value.

Fix the code to check that the TTL is greater than, or equal to the
configured eligibility value, instead of just greater than it.

(cherry picked from commit 863f51466e1d0ab8ab7410132d21fb0b0a4ba168)
lib/dns/resolver.c