]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix "shutdown system test crashed in dns_dispatchmgr_getblackhole"
authorMark Andrews <marka@isc.org>
Wed, 22 Oct 2025 05:53:46 +0000 (16:53 +1100)
committerMark Andrews <marka@isc.org>
Mon, 27 Oct 2025 22:02:12 +0000 (09:02 +1100)
commit012a47476deaf89016f2a33c7bedba458198e11b
tree7fdbb594341fc8571ab55b4d8d16277314e01c76
parentd951cedd0213ac549756f529fd9fd5511e5f1c93
Fix "shutdown system test crashed in dns_dispatchmgr_getblackhole"

While shutting down view->dispatchmgr is no longer valid.  Attach
to it and when creates a fetch context and use that pointer instead
of view->dispatchmgr.  Use dns_view_getdispatchmgr to do the attaching
as view->dispatchmgr is it managed using rcu.
lib/dns/resolver.c