1624. [bug] zonemgr_putio() call should be locked. [RT# 11163]

This commit is contained in:
Mark Andrews 2004-04-29 01:44:44 +00:00
parent cc32d38366
commit 8407fbc61d
2 changed files with 4 additions and 2 deletions

View file

@ -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]

View 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);
}