Skip to content

Commit

Permalink
fixup! QUIC REACTOR: Add utility for tracking recursive blocking oper…
Browse files Browse the repository at this point in the history
…ations
  • Loading branch information
t8m committed Nov 12, 2024
1 parent eae7dc1 commit 79066c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ssl/quic/quic_reactor_wait_ctx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;

Expand All @@ -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);
}
Expand Down

0 comments on commit 79066c6

Please sign in to comment.