mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 21:47:59 +00:00
shutdown_entries() was erroneously unlocking the wrong lock.
This commit is contained in:
parent
bbc11ade9b
commit
fbc09123cd
@ -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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user