From: Witold Kręcicki Date: Fri, 9 Oct 2020 20:06:41 +0000 (+0200) Subject: Shutdown interface if we can't listen on it to avoid shutdown hang X-Git-Tag: v9.17.7~11^2~4 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=2cfc8a45a4035cf8d960bbdcdca241b175e43830;p=thirdparty%2Fbind9.git Shutdown interface if we can't listen on it to avoid shutdown hang --- diff --git a/lib/ns/interfacemgr.c b/lib/ns/interfacemgr.c index ae8c1c2406b..c7bbc753a7f 100644 --- a/lib/ns/interfacemgr.c +++ b/lib/ns/interfacemgr.c @@ -597,6 +597,7 @@ cleanup_interface: LOCK(&ifp->mgr->lock); ISC_LIST_UNLINK(ifp->mgr->interfaces, ifp, link); UNLOCK(&ifp->mgr->lock); + ns_interface_shutdown(ifp); ns_interface_detach(&ifp); return (result); }