refresh_callback needs to check if the zone is exiting
(cherry picked from commit 2e314abcf0a47acfbab55e5ef0463c04c08476be)
This commit is contained in:
@@ -10431,6 +10431,12 @@ refresh_callback(isc_task_t *task, isc_event_t *event) {
|
||||
|
||||
LOCK_ZONE(zone);
|
||||
|
||||
if (DNS_ZONE_FLAG(zone, DNS_ZONEFLG_EXITING)) {
|
||||
isc_event_free(&event);
|
||||
dns_request_destroy(&zone->request);
|
||||
goto detach;
|
||||
}
|
||||
|
||||
/*
|
||||
* if timeout log and next master;
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user