From: Brian Wellington Date: Mon, 13 Nov 2000 20:18:25 +0000 (+0000) Subject: pullup: X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d85ab8b798af72bed40f192e11c6c8d2ff85e73f;p=thirdparty%2Fbind9.git pullup: 553. [bug] Incoming zone transfers deferred due to quota were not started when quota was increased but only when a transfer in progress finished. [RT #456] --- diff --git a/CHANGES b/CHANGES index 945eebf060a..6d4a4dc501c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ + 553. [bug] Incoming zone transfers deferred due to quota + were not started when quota was increased but + only when a transfer in progress finished. [RT #456] 552. [bug] We were not correctly detecting the end of all c-style comments. [RT #455] diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 552d4749eec..554faa06c7b 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: zone.c,v 1.152.2.14 2000/10/17 18:48:05 gson Exp $ */ +/* $Id: zone.c,v 1.152.2.15 2000/11/13 20:18:23 bwelling Exp $ */ #include @@ -4196,6 +4196,15 @@ dns_zonemgr_forcemaint(dns_zonemgr_t *zmgr) { { dns_zone_maintenance(p); } + + /* + * Recent configuration changes may have increased the + * amount of available transfers quota. Make sure any + * transfers currently blocked on quota get started if + * possible. + */ + zmgr_resume_xfrs(zmgr); + RWUNLOCK(&zmgr->rwlock, isc_rwlocktype_read); return (ISC_R_SUCCESS); }