2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

fixup! Use cds_lfht for updatenotify mechanism in dns_db unit

This commit is contained in:
Ondřej Surý
2023-07-31 18:03:45 +02:00
parent a1afa31a5a
commit 8c4cf5b1de

View File

@@ -3800,8 +3800,7 @@ dns__rbtdb_create(isc_mem_t *mctx, const dns_name_t *origin, dns_dbtype_t type,
rbtdb->node_locks = isc_mem_get(mctx, rbtdb->node_lock_count *
sizeof(rbtdb_nodelock_t));
rbtdb->common.update_listeners =
cds_lfht_new(16, 16, 0, CDS_LFHT_ACCOUNTING, NULL);
rbtdb->common.update_listeners = cds_lfht_new(16, 16, 0, 0, NULL);
if (IS_CACHE(rbtdb)) {
dns_rdatasetstats_create(mctx, &rbtdb->rrsetstats);