mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
4554. [bug] Remove double unlock in dns_dispatchmgr_setudp.
[RT #44336]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
|||||||
|
4554. [bug] Remove double unlock in dns_dispatchmgr_setudp.
|
||||||
|
[RT #44336]
|
||||||
|
|
||||||
4553. [bug] Named could deadlock there were multiple changes to
|
4553. [bug] Named could deadlock there were multiple changes to
|
||||||
NSEC/NSEC3 parameters for a zone being processed at
|
NSEC/NSEC3 parameters for a zone being processed at
|
||||||
the same time. [RT #42770]
|
the same time. [RT #42770]
|
||||||
|
@@ -2077,10 +2077,9 @@ dns_dispatchmgr_setudp(dns_dispatchmgr_t *mgr,
|
|||||||
}
|
}
|
||||||
result = isc_mempool_create(mgr->mctx, sizeof(dispsocket_t),
|
result = isc_mempool_create(mgr->mctx, sizeof(dispsocket_t),
|
||||||
&mgr->spool);
|
&mgr->spool);
|
||||||
if (result != ISC_R_SUCCESS) {
|
if (result != ISC_R_SUCCESS)
|
||||||
UNLOCK(&mgr->buffer_lock);
|
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
|
||||||
isc_mempool_setname(mgr->spool, "dispmgr_spool");
|
isc_mempool_setname(mgr->spool, "dispmgr_spool");
|
||||||
isc_mempool_setmaxalloc(mgr->spool, maxrequests);
|
isc_mempool_setmaxalloc(mgr->spool, maxrequests);
|
||||||
isc_mempool_setfreemax(mgr->spool, maxrequests);
|
isc_mempool_setfreemax(mgr->spool, maxrequests);
|
||||||
|
Reference in New Issue
Block a user