From: Mark Andrews Date: Thu, 29 Jan 2015 00:50:30 +0000 (+1100) Subject: 4048. [bug] adb hash table was not being grown. [RT #38470] X-Git-Tag: v9.11.0a1~1074 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=4b36b9c1fff56d836feeaa1dc7eb1d4676d9c8bb;p=thirdparty%2Fbind9.git 4048. [bug] adb hash table was not being grown. [RT #38470] --- diff --git a/CHANGES b/CHANGES index f09666494ad..36fac1741f6 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +4048. [bug] adb hash table was not being grown. [RT #38470] + 4047. [cleanup] "named -V" now reports the current running versions of OpenSSL and the libxml2 libraries, in addition to the versions that were in use at build time. diff --git a/lib/dns/adb.c b/lib/dns/adb.c index 51bac51f4c7..b94e309122b 100644 --- a/lib/dns/adb.c +++ b/lib/dns/adb.c @@ -1821,12 +1821,12 @@ new_adbentry(dns_adb_t *adb) { LOCK(&adb->entriescntlock); adb->entriescnt++; inc_adbstats(adb, dns_adbstats_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);