From 8cf2202c52334d2070c28cd904ad8798b671589c Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Mon, 28 Sep 2026 11:56:09 +0200 Subject: [PATCH] Changelog note and remove hash call assertion. - Merge #1518 from nshopik: rrset: rehash copies after changing the key. --- doc/Changelog | 2 ++ services/cache/rrset.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/Changelog b/doc/Changelog index 828cbe129..9c93a0792 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,7 @@ 28 September 2026: Wouter - Fix to log the errno for trust anchor write close fail. + - Merge #1518 from nshopik: rrset: rehash copies after + changing the key. 22 September 2026: Yorgos - Fix #1514: [FR] do-not-query-localhost is not including diff --git a/services/cache/rrset.c b/services/cache/rrset.c index 3fcf1ae6c..3600d7974 100644 --- a/services/cache/rrset.c +++ b/services/cache/rrset.c @@ -222,7 +222,6 @@ rrset_cache_update(struct rrset_cache* r, struct rrset_ref* ref, the grace ttl amount. This means the ref was not changed by the call. */ } - log_assert(k->entry.hash == rrset_key_hash(&k->rk)); /* looks up item with a readlock - no editing! */ if((e=slabhash_lookup(&r->table, h, k, 0)) != 0) { /* return id and key as they will be used in the cache