]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: add 2 BUG_ON() on datagram dispatch
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 1 Jul 2024 08:15:58 +0000 (10:15 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 3 Jul 2024 13:02:40 +0000 (15:02 +0200)
commita4240fb26f814223c19b3758576e04b029f46e69
treee4571411b7bc27b2155cdb443e24cf37d4d3a1b1
parent8550549cca25922a130fbaf89270cb40c788f0d7
MINOR: quic: add 2 BUG_ON() on datagram dispatch

QUIC datagram dispatch is an error prone operation as it must always
ensure the correct thread is used before accessing to the recipient
quic_conn instance. Strengthen this code part by adding two BUG_ON_HOT()
to ensure thread safety.
src/quic_rx.c