mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
cache stats were detached when flushing cache
This commit is contained in:
@@ -1167,6 +1167,7 @@ dns_cache_flush(dns_cache_t *cache) {
|
||||
}
|
||||
dns_db_detach(&cache->db);
|
||||
cache->db = db;
|
||||
dns_db_setcachestats(cache->db, cache->stats);
|
||||
UNLOCK(&cache->cleaner.lock);
|
||||
UNLOCK(&cache->lock);
|
||||
|
||||
|
Reference in New Issue
Block a user