]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
4048. [bug] adb hash table was not being grown. [RT #38470]
authorMark Andrews <marka@isc.org>
Thu, 29 Jan 2015 00:50:30 +0000 (11:50 +1100)
committerMark Andrews <marka@isc.org>
Thu, 29 Jan 2015 00:50:30 +0000 (11:50 +1100)
CHANGES
lib/dns/adb.c

diff --git a/CHANGES b/CHANGES
index f09666494ad90577edf5b10f4abfab9d10260ea0..36fac1741f646693acc19e33569fcc568c4bc5af 100644 (file)
--- 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.
index 51bac51f4c742e85f26f3bb1d3b19f874a331346..b94e309122b5b364fcd334e0b354a854da9074ad 100644 (file)
@@ -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);