mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-26 03:11:56 -05:00
Shutdown interface if we can't listen on it to avoid shutdown hang
This commit is contained in:
parent
f68fe9ff14
commit
2cfc8a45a4
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue