]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD/MEDIUM: quic: Make sure we build with recent changes
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 30 Apr 2025 16:22:46 +0000 (18:22 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 30 Apr 2025 16:00:56 +0000 (18:00 +0200)
TASK_IN_LIST has been changed to TASK_QUEUED, but one was missed in
quic_conn.c, so fix that.

src/quic_conn.c

index 51ace545f61be01ccc490279907e2dda3cde39e1..882158c766dd92cd03766aac66dc04c912bb476d 100644 (file)
@@ -1865,7 +1865,7 @@ int qc_bind_tid_prep(struct quic_conn *qc, uint new_tid)
        }
 
        /* Reinit IO tasklet. */
-       if (qc->wait_event.tasklet->state & TASK_IN_LIST)
+       if (qc->wait_event.tasklet->state & TASK_QUEUED)
                qc->flags |= QUIC_FL_CONN_IO_TO_REQUEUE;
        tasklet_kill(qc->wait_event.tasklet);
        /* In most cases quic_conn_app_io_cb is used but for 0-RTT quic_conn_io_cb can be still activated. */