]> git.ipfire.org Git - thirdparty/bind9.git/commit
Don't expire fresh ADB names and entries
authorOndřej Surý <ondrej@isc.org>
Tue, 13 Dec 2022 13:32:19 +0000 (14:32 +0100)
committerOndřej Surý <ondrej@isc.org>
Mon, 19 Dec 2022 08:26:58 +0000 (09:26 +0100)
commit146f93ff46e1c7cd61201c083a43182e05352733
tree1301d96a9cbc43647d2d181673645ccd7214ffa1
parentecde82689efa0aa72521a6478f07d99bbea8f395
Don't expire fresh ADB names and entries

The overmem cleaning in ADB could become overzealous and clean fresh ADB
names and entries.  Add a safety check to not clean any ADB names and
entries that are below ADB_CACHE_MINIMUM threshold.

(cherry picked from commit 0b661b6f951907dcff23b48a10e8984a1f28eb74)
lib/dns/adb.c