From 79066c6d8418f2a7e5bcee2d1413b5e28404d7d8 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Tue, 12 Nov 2024 16:20:25 +0100 Subject: [PATCH] fixup! QUIC REACTOR: Add utility for tracking recursive blocking operations --- ssl/quic/quic_reactor_wait_ctx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ssl/quic/quic_reactor_wait_ctx.c b/ssl/quic/quic_reactor_wait_ctx.c index f34b8d2e969117..f3215f9700bbce 100644 --- a/ssl/quic/quic_reactor_wait_ctx.c +++ b/ssl/quic/quic_reactor_wait_ctx.c @@ -45,7 +45,7 @@ int ossl_quic_reactor_wait_ctx_enter(QUIC_REACTOR_WAIT_CTX *ctx, { QUIC_REACTOR_WAIT_SLOT *slot; - LIST_FOREACH(slot, quic_reactor_wait_slot, &ctx->slots) + OSSL_LIST_FOREACH(slot, quic_reactor_wait_slot, &ctx->slots) if (slot->rtor == rtor) break; @@ -66,7 +66,7 @@ void ossl_quic_reactor_wait_ctx_leave(QUIC_REACTOR_WAIT_CTX *ctx, { QUIC_REACTOR_WAIT_SLOT *slot; - LIST_FOREACH(slot, quic_reactor_wait_slot, &ctx->slots) + OSSL_LIST_FOREACH(slot, quic_reactor_wait_slot, &ctx->slots) if (slot->rtor == rtor) break; @@ -78,7 +78,7 @@ void ossl_quic_reactor_wait_ctx_cleanup(QUIC_REACTOR_WAIT_CTX *ctx) { QUIC_REACTOR_WAIT_SLOT *slot, *nslot; - LIST_FOREACH_DELSAFE(slot, nslot, quic_reactor_wait_slot, &ctx->slots) { + OSSL_LIST_FOREACH_DELSAFE(slot, nslot, quic_reactor_wait_slot, &ctx->slots) { assert(slot->blocking_count == 0); OPENSSL_free(slot); }