]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1624. [bug] zonemgr_putio() call should be locked. [RT# 11163]
authorMark Andrews <marka@isc.org>
Thu, 29 Apr 2004 01:44:44 +0000 (01:44 +0000)
committerMark Andrews <marka@isc.org>
Thu, 29 Apr 2004 01:44:44 +0000 (01:44 +0000)
CHANGES
lib/dns/zone.c

diff --git a/CHANGES b/CHANGES
index 279838502a2e45e5451293e1bc09ba78a47bc8dc..4b2391e3e923901f27ff26afc7042939231d9aac 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+1624.  [bug]           zonemgr_putio() call should be locked. [RT# 11163]
+
 1623.  [bug]           A serial number of zero was being displayed in the
                        "sending notifies" log message when also-notify was
                        used. [RT #11177]
index 85031b19dd3897d29991e0fc45fca18ab3cce039..6922e9d596ebf32b38b288469a80ef7c84d3c8dc 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zone.c,v 1.413 2004/04/28 04:23:24 marka Exp $ */
+/* $Id: zone.c,v 1.414 2004/04/29 01:44:44 marka Exp $ */
 
 #include <config.h>
 
@@ -2388,10 +2388,10 @@ dump_done(void *arg, isc_result_t result) {
 
        if (zone->dctx != NULL)
                dns_dumpctx_detach(&zone->dctx);
+       zonemgr_putio(&zone->writeio);
        UNLOCK_ZONE(zone);
        if (again)
                (void)zone_dump(zone, ISC_FALSE);
-       zonemgr_putio(&zone->writeio);
        dns_zone_idetach(&zone);
 }