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:
committed by
Ondřej Surý
parent
f68fe9ff14
commit
2cfc8a45a4
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user