mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
Fix recursive-clients 0
Setting recursive-clients 0 triggered an assertion in isc_quota_soft. This has now been fixed.
This commit is contained in:
parent
b98f82b94f
commit
840eaa628d
@ -36,7 +36,6 @@ isc_quota_init(isc_quota_t *quota, unsigned int max) {
|
||||
void
|
||||
isc_quota_soft(isc_quota_t *quota, unsigned int soft) {
|
||||
REQUIRE(VALID_QUOTA(quota));
|
||||
REQUIRE(atomic_load_relaxed("a->max) > soft);
|
||||
atomic_store_relaxed("a->soft, soft);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user