From: Mark Andrews Date: Mon, 14 Oct 2024 03:09:03 +0000 (+1100) Subject: Fix recursive-clients 0 X-Git-Tag: v9.21.3~75^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=840eaa628d9178ed7ceee0ec1a0796325fe08b1c;p=thirdparty%2Fbind9.git Fix recursive-clients 0 Setting recursive-clients 0 triggered an assertion in isc_quota_soft. This has now been fixed. --- diff --git a/lib/isc/quota.c b/lib/isc/quota.c index a4ddebc6125..0b1f050ce7b 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); }