]> git.ipfire.org Git - thirdparty/bind9.git/commit
restore isc_mem_setwater() call in the cache
authorEvan Hunt <each@isc.org>
Tue, 31 Oct 2023 11:00:14 +0000 (12:00 +0100)
committerEvan Hunt <each@isc.org>
Wed, 1 Nov 2023 15:18:02 +0000 (15:18 +0000)
commitb12f709f0564d7abbe2ebb4dbb78da2087988801
tree5e9e94a55d443baeb0c09186f96f1623a3d57f94
parentd17d9de8a218737dc43d011e7471545e126dfddb
restore isc_mem_setwater() call in the cache

Commit 4db150437e14b28c5b50ae466af9ce502fd73185 incorrectly removed the
call to isc_mem_setwater() from dns_cache_setcachesize().  The water()
function is a no-op, but we still need to set high- and low-water marks
in the memory context, otherwise overmem conditions will not be
detected.
lib/dns/cache.c