]> git.ipfire.org Git - thirdparty/bind9.git/commit
Skip the no-op code in adjustsrtt()
authorOndřej Surý <ondrej@isc.org>
Thu, 12 Oct 2023 07:17:40 +0000 (09:17 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 12 Oct 2023 10:35:00 +0000 (12:35 +0200)
commit0635bd01cbf47cf05cfa7670fe0833077ccfe6fe
treed93cb1f5af5094373abdd301c295ef26f8a1f3c6
parentcb0db600e78e88ca6e804a95382b2dd99fbbbeb8
Skip the no-op code in adjustsrtt()

If factor == DNS_ADB_RTTADJAGE and addr->entry->lastage == now we would
load value into new_srtt and then immediatelly store it back which
triggers the synchronization between threads using .srtt values.
lib/dns/adb.c