MINOR: quic: Missing encryption level rx.crypto member initialization and lock.
->rx.crypto member of quic_enc_level struct was not initialized as
this was done for all other members of this structure. This patch
fixes this.
Also adds a RW lock for the frame of this member.
diff --git a/src/xprt_quic.c b/src/xprt_quic.c
index eec3b5c..cc560a9 100644
--- a/src/xprt_quic.c
+++ b/src/xprt_quic.c
@@ -2719,6 +2719,9 @@
qel->rx.pkts = EB_ROOT;
HA_RWLOCK_INIT(&qel->rx.rwlock);
MT_LIST_INIT(&qel->rx.pqpkts);
+ qel->rx.crypto.offset = 0;
+ qel->rx.crypto.frms = EB_ROOT_UNIQUE;
+ HA_RWLOCK_INIT(&qel->rx.crypto.frms_rwlock);
/* Allocate only one buffer. */
qel->tx.crypto.bufs = malloc(sizeof *qel->tx.crypto.bufs);