]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mt_list: Use atomic operations to prevent compiler optims
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 24 Oct 2025 10:43:47 +0000 (12:43 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 24 Oct 2025 11:34:41 +0000 (13:34 +0200)
commit837351245aaa34674a236926ce50fc9839a52276
tree667bc053ebfc9efb98dc2336c5d404f0ceab637f
parent2ec6df59bf9bb8f90539114e493f62625f463b8d
BUG/MEDIUM: mt_list: Use atomic operations to prevent compiler optims

As a folow-up to f40f5401b9f24becc6fdd2e77d4f4578bbecae7f, explicitely
use atomic operations to set the prev and next fields, to make sure the
compiler can't assume anything about it, and just does it.

This should be backported after f40f5401b9 up to 2.8.
include/import/mt_list.h