]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: quic: remove unused scid_node
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 12 Apr 2023 14:43:30 +0000 (16:43 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 18 Apr 2023 14:20:47 +0000 (16:20 +0200)
Remove unused scid_node member for quic_conn structure. It was prepared
for QUIC backend support.

This should be backported up to 2.7.

include/haproxy/quic_conn-t.h
src/quic_conn.c

index 2213a7f776de1782521e32471501df6c096fabda..1efb8f9da439ddbaeb3ecefe6a602db1f5a93bb4 100644 (file)
@@ -653,7 +653,6 @@ struct quic_conn {
 
        struct quic_cid odcid; /* First DCID used by client on its Initial packet. */
        struct quic_cid dcid; /* DCID of our endpoint - not updated when a new DCID is used */
-       struct ebmb_node scid_node; /* used only for client side (backend) */
        struct quic_cid scid; /* first SCID of our endpoint - not updated when a new SCID is used */
        struct eb_root cids; /* tree of quic_connection_id - used to match a received packet DCID with a connection */
        uint64_t next_cid_seq_num;
index 98b376e7e753d5f63e5319756394afc12d95a809..e5d6c2500e8e5b81bfa61c1195f472a5363b8a07 100644 (file)
@@ -5670,7 +5670,6 @@ void quic_conn_release(struct quic_conn *qc)
                tasklet_free(qc->wait_event.tasklet);
 
        /* remove the connection from receiver cids trees */
-       ebmb_delete(&qc->scid_node);
        free_quic_conn_cids(qc);
 
        conn_ctx = qc->xprt_ctx;