From: Mark Andrews Date: Fri, 28 Feb 2020 03:01:40 +0000 (+1100) Subject: Ensure that resigintime and the zone timer are set X-Git-Tag: v9.14.12~21^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c861a7ba1955a9f2e0d731300acafface08d647;p=thirdparty%2Fbind9.git Ensure that resigintime and the zone timer are set (cherry picked from commit a6626594aa348209eb02ec1ba8d3539821144aca) --- diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 75fddba6403..bfa12a27691 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -14988,6 +14988,11 @@ receive_secure_serial(isc_task_t *task, isc_event_t *event) { dns_zone_detach(&zone->rss_raw); } if (result != ISC_R_SUCCESS) { + LOCK_ZONE(zone); + set_resigntime(zone); + TIME_NOW(&timenow); + zone_settimer(zone, &timenow); + UNLOCK_ZONE(zone); dns_zone_log(zone, level, "receive_secure_serial: %s", dns_result_totext(result)); }