commit | 250ac42754547ac86b9e947cc772e92aa5f3e22e | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Wed Dec 22 11:29:05 2021 +0100 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu Dec 23 15:51:00 2021 +0100 |
tree | 1035f9c1eb32cc5c1fd171a83362785ea24377a1 | |
parent | d6b166787c9efeff8637e98f0bafe6b104666a37 [diff] |
BUG/MINOR: quic: upgrade rdlock to wrlock for ODCID removal When a quic_conn is found in the DCID tree, it can be removed from the first ODCID tree. However, this operation must absolutely be run under a write-lock to avoid race condition. To avoid to use the lock too frequently, node.leaf_p is checked. This value is set to NULL after ebmb_delete.