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.17.1~87^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6626594aa348209eb02ec1ba8d3539821144aca;p=thirdparty%2Fbind9.git Ensure that resigintime and the zone timer are set --- diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 7f4975240b0..aec813d2813 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15666,6 +15666,11 @@ failure: 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)); }