From 887e874e93f4590fa67a9f554e928c711fa39cd9 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. (cherry picked from commit 840eaa628d9178ed7ceee0ec1a0796325fe08b1c) --- lib/isc/quota.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/isc/quota.c b/lib/isc/quota.c index ad58f33810..51a9434e5b 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); }