From e0f17c2443dc2870187ee1bb42ddfb538b26c982 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Thu, 11 Feb 2021 17:27:59 +0100 Subject: [PATCH] zonemd, review comments, stop callback for a deleted zone. --- services/authzone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/authzone.c b/services/authzone.c index 431df3931..a537bf9f0 100644 --- a/services/authzone.c +++ b/services/authzone.c @@ -8070,7 +8070,7 @@ void auth_zonemd_dnskey_lookup_callback(void* arg, int rcode, sldns_buffer* buf, /* release the env variable so another worker can pick up the * ZONEMD verification task if it wants to */ z->zonemd_callback_env = NULL; - if(!env || env->outnet->want_to_quit) { + if(!env || env->outnet->want_to_quit || z->zone_deleted) { lock_rw_unlock(&z->lock); return; /* stop on quit */ } -- 2.47.2