mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 07:40:00 -04:00
2366. [bug] Adb shutdown race. [RT #18021]
This commit is contained in:
parent
2a9a5e1871
commit
816496b221
2 changed files with 6 additions and 2 deletions
2
CHANGES
2
CHANGES
|
|
@ -1,3 +1,5 @@
|
|||
2366. [bug] Adb shutdown race. [RT #18021]
|
||||
|
||||
2365. [bug] Fix a bug that caused dns_acl_isany() to return
|
||||
spurious results. [RT #18000]
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: adb.c,v 1.239 2008/05/01 18:23:07 jinmei Exp $ */
|
||||
/* $Id: adb.c,v 1.240 2008/05/02 04:40:12 marka Exp $ */
|
||||
|
||||
/*! \file
|
||||
*
|
||||
|
|
@ -1234,7 +1234,7 @@ dec_entry_refcnt(dns_adb_t *adb, dns_adbentry_t *entry, isc_boolean_t lock) {
|
|||
|
||||
free_adbentry(adb, &entry);
|
||||
if (result)
|
||||
result =dec_adb_irefcnt(adb);
|
||||
result = dec_adb_irefcnt(adb);
|
||||
|
||||
return (result);
|
||||
}
|
||||
|
|
@ -1772,6 +1772,8 @@ shutdown_task(isc_task_t *task, isc_event_t *ev) {
|
|||
INSIST(DNS_ADB_VALID(adb));
|
||||
|
||||
isc_event_free(&ev);
|
||||
LOCK(&adb->lock);
|
||||
UNLOCK(&adb->lock);
|
||||
destroy(adb);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue