]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use a new memory context when flushing the cache
authorMark Andrews <marka@isc.org>
Fri, 16 Feb 2024 00:40:26 +0000 (11:40 +1100)
committerMark Andrews <marka@isc.org>
Fri, 31 May 2024 05:40:32 +0000 (15:40 +1000)
commit5e77edd07482a69fdf578e7680a495e00ace8b7b
tree4da0ed6c62df3cf7f68eea77f3b1a823434ef21c
parent5f69e0a3117c249d7582c16434cb1e6c40dd19b4
Use a new memory context when flushing the cache

When the cache's memory context was in over memory state when the
cache was flushed it resulted in LRU cleaning removing newly entered
data in the new cache straight away until the old cache had been
destroyed enough to take it out of over memory state.  When flushing
the cache create a new memory context for the new db to prevent this.
lib/dns/cache.c