]> git.ipfire.org Git - thirdparty/bind9.git/commit
Run the forward_cancel on the appropriate zone->loop
authorOndřej Surý <ondrej@isc.org>
Fri, 14 Apr 2023 03:43:53 +0000 (05:43 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 14 Apr 2023 14:31:33 +0000 (16:31 +0200)
commit3df3b5efbdd5dea902f46c7546ffecf60c13889b
tree38f285c1d11472f1fcefd97c0c8770cf5f36e23e
parent36a3c87c33ee69ec4f963621088230b5176d5a1f
Run the forward_cancel on the appropriate zone->loop

If the zone forwards are canceled from dns_zonemgr_shutdown(), the
forward_cancel() would get called from the main loop, which is wrong.
It needs to be called from the matching zone->loop.

Run the dns_request_cancel() via isc_async_run() on the loop associated
with the zone instead of calling the dns_request_cancel() directly from
the main loop.
lib/dns/zone.c