]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: dev: Simplify the DNS_R_UNCHANGED handling in dns_resolver unit
authorOndřej Surý <ondrej@isc.org>
Fri, 15 Aug 2025 05:06:11 +0000 (07:06 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 15 Aug 2025 05:06:11 +0000 (07:06 +0200)
Instead of catching the DNS_R_UNCHANGED from dns_db_addrdataset() (via
cache_rrset() and dns_ncache_add()) individually, mask it properly as
soon as possible by moving the sigrdataset caching logic inside the
cache_rrset() and returning ISC_R_SUCCESS from cache_rrset() and
dns_ncache_add() when the database was unchanged.

Closes #5473

Merge branch '5473-fix-crash-in-validated' into 'main'

See merge request isc-projects/bind9!10850


Trivial merge