]> git.ipfire.org Git - thirdparty/bind9.git/commit
Decouple view->resolver and friends shutdown and detach
authorOndřej Surý <ondrej@isc.org>
Tue, 28 Feb 2023 13:14:06 +0000 (14:14 +0100)
committerOndřej Surý <ondrej@isc.org>
Tue, 28 Feb 2023 15:32:33 +0000 (15:32 +0000)
commitdfd195e77c8ecab92c26aeaf5856e35fdf3bc7cd
tree20454597efa60ac9cb002333f90593132c240b8b
parent004d2a7ad03d383518e4aab3800edd5eb1f06902
Decouple view->resolver and friends shutdown and detach

In !7538, the shutdown procedure was simplified, but the ordering was
wrong, we need to shutdown the resolver, adb and requestmgr before
detaching those objects from the view, because there are cross
dependencies between at least the resolver and the adb.

Execute the shutdown(s) first, only when all three shutdowns have been
executed, detach those objects from the view.
lib/dns/view.c