From 840eaa628d9178ed7ceee0ec1a0796325fe08b1c Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 14 Oct 2024 14:09:03 +1100 Subject: [PATCH] Fix recursive-clients 0 Setting recursive-clients 0 triggered an assertion in isc_quota_soft. This has now been fixed. --- lib/isc/quota.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/isc/quota.c b/lib/isc/quota.c index a4ddebc612..0b1f050ce7 100644 --- a/lib/isc/quota.c +++ b/lib/isc/quota.c @@ -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); }