diff --git a/CHANGES b/CHANGES index 882dd59660..72411eec68 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +4048. [bug] adb hash table was not being grown. [RT #38470] + --- 9.9.7rc1 released --- 4047. [cleanup] "named -V" now reports the current running versions diff --git a/lib/dns/adb.c b/lib/dns/adb.c index a9ffd2ad9f..55bc466ef3 100644 --- a/lib/dns/adb.c +++ b/lib/dns/adb.c @@ -1768,12 +1768,12 @@ new_adbentry(dns_adb_t *adb) { ISC_LINK_INIT(e, plink); LOCK(&adb->entriescntlock); adb->entriescnt++; - if (!adb->growentries_sent && adb->growentries_sent && + if (!adb->growentries_sent && adb->excl != NULL && adb->entriescnt > (adb->nentries * 8)) { isc_event_t *event = &adb->growentries; inc_adb_irefcnt(adb); - isc_task_send(adb->task, &event); + isc_task_send(adb->excl, &event); adb->growentries_sent = ISC_TRUE; } UNLOCK(&adb->entriescntlock);