commit | a7348f6f85778f5242b1325c8682c4c90c78a184 | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Tue Aug 03 16:50:14 2021 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu Sep 23 15:27:25 2021 +0200 |
tree | beed86775d01eec8215093839514132f05417eb4 | |
parent | 91ae7aa7ec825107ab12239f808cfe5713cc7372 [diff] |
MINOR: quic: Make qc_build_hdshk_pkt() atomically consume a packet number Atomically increase the "next packet variable" before building a new packet. Make the code bug on a packet building failure. This should never happen if we do not want to consume a packet number for nothing. There are remaining modifications to come to ensure this is the case.