From: Colin Vidal Date: Mon, 10 Nov 2025 08:49:06 +0000 (+0100) Subject: remove exclusive mode when scheduling zone load X-Git-Tag: v9.21.16~47^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8e879c008186dfecea6719f56cf8a6ac7fabc41;p=thirdparty%2Fbind9.git remove exclusive mode when scheduling zone load Remove the exclusive mode when scheduling the zone load right after (re)loading `named` configuration, as there is no reason anymore to schedule zone loading while the exclusive lock is held. Data which can be read or written by multiple threads are locked or atomic. --- diff --git a/bin/named/server.c b/bin/named/server.c index f06f95f7312..34abfc7fc61 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -9294,8 +9294,6 @@ load_zones(named_server_t *server, bool reconfig) { zl->server = server; zl->reconfig = reconfig; - isc_loopmgr_pause(); - isc_refcount_init(&zl->refs, 1); /* @@ -9339,8 +9337,6 @@ cleanup: isc_mem_put(server->mctx, zl, sizeof(*zl)); } - isc_loopmgr_resume(); - return result; }