mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
shutdown_entries() was erroneously unlocking the wrong lock.
This commit is contained in:
@@ -832,7 +832,7 @@ shutdown_entries(dns_adb_t *adb)
|
|||||||
if (adb->entry_refcnt[bucket] == 0)
|
if (adb->entry_refcnt[bucket] == 0)
|
||||||
dec_adb_irefcnt(adb, ISC_FALSE);
|
dec_adb_irefcnt(adb, ISC_FALSE);
|
||||||
|
|
||||||
UNLOCK(&adb->namelocks[bucket]);
|
UNLOCK(&adb->entrylocks[bucket]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user