]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
sec: usr: Remove purged adb names and entries from SIEVE list immediately
authorOndřej Surý <ondrej@isc.org>
Wed, 25 Feb 2026 06:29:23 +0000 (07:29 +0100)
committerOndřej Surý <ondrej@isc.org>
Wed, 25 Feb 2026 06:29:23 +0000 (07:29 +0100)
Both expire_name() and expire_entry() use isc_async mechanism to remove
the names and entries from the SIEVE-LRU lists on the matching isc_loop.

Under certain circumstances, this could lead to double counting the
purged named/entries when purging the SIEVE-LRU lists under the overmem
condition.  This would cause not enough memory to be cleaned up and the
ADB would then never recover from the overmem condition leading to OOM
crash of the named.

Merge branch 'ondrej/fix-runaway-memory-in-adb' into 'main'

See merge request isc-projects/bind9!11544


Trivial merge