]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: debug: fix get_tainted() to properly read an atomic value
authorWilly Tarreau <w@1wt.eu>
Fri, 25 Feb 2022 08:56:29 +0000 (09:56 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 25 Feb 2022 10:54:30 +0000 (11:54 +0100)
commit9b4a0e6bace4e6ecd523a8d303abc948ee46aefd
tree5dded97607773f0a4a4952fb455bad5736dd7067
parentc72d2c7e5b05b64b1188c0d34cced8ad47b62ebe
BUG/MINOR: debug: fix get_tainted() to properly read an atomic value

get_tainted() was using an atomic store from the atomic value to a
local one instead of using an atomic load. In practice it has no effect
given the relatively rare updates of this field and the fact that it's
read only when dumping "show info" output, but better fix it.

There's probably no need to backport this.
src/haproxy.c