2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Shutdown interface if we can't listen on it to avoid shutdown hang

This commit is contained in:
Witold Kręcicki
2020-10-09 22:06:41 +02:00
committed by Ondřej Surý
parent f68fe9ff14
commit 2cfc8a45a4

View File

@@ -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);
}