]> git.ipfire.org Git - thirdparty/bind9.git/commit
Rewrite dns_adb LRU to SIEVE
authorOndřej Surý <ondrej@isc.org>
Thu, 12 Jun 2025 09:14:51 +0000 (11:14 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 9 Jul 2025 19:22:47 +0000 (21:22 +0200)
commit7682bc21a9881e7c0d576d0d5475cd2a4d2fcfb8
tree5737b3a46a8f970e06ebe6687d2e7b1e7ecd3e7d
parente0d1d936de8f6de43b4df916cae10331731a3f19
Rewrite dns_adb LRU to SIEVE

The dns_adb cleaning is little bit muddled as it mixes the "TTL"
based cleaning (.expire_v4 and .expire_v6 for adbname, .expires for
adbentry) with overmem cleaning.

Rewrite the LRU based cleaning to use SIEVE algorithm and to be overmem
cleaning only with a requirement to always cleanup at least 2-times the
size of the newly added entry.
lib/dns/adb.c
lib/isc/include/isc/sieve.h