]> git.kaiwu.me - haproxy.git/commit
CLEANUP: ot: use the item API for the variables trees
authorMiroslav Zagorac <mzagorac@haproxy.com>
Thu, 25 Sep 2025 22:13:12 +0000 (00:13 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 13 Apr 2026 07:23:30 +0000 (09:23 +0200)
commitde41121c0c32503cf557b0c0ae96ba91d691c053
tree928a27d4c04b64e28cd279e5778aef9c38bcaccf
parentdae6fa9c6f5f908d71ab79cd363c58ca280aec20
CLEANUP: ot: use the item API for the variables trees

In flt_ot_vars_scope_dump(), switched from cebu64_first()/cebu64_next() to
cebu64_imm_first()/cebu64_imm_next() for iterating the variable name trees.
Since this function only reads variables under a read lock, the immutable
traversal API is the correct choice.  Also updated the container_of()
member from 'node' to 'name_node' to match the current struct var layout.
addons/ot/src/vars.c