]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: list: correct fix for LIST_POP_LOCKED's removal of last element
authorWilly Tarreau <w@1wt.eu>
Thu, 28 Feb 2019 15:51:28 +0000 (16:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 Feb 2019 15:51:28 +0000 (16:51 +0100)
commit4ef6801cd4db450b4ac3a21e58ca5fce5256189b
treee9425b20dc4f2be73b5e09b0ddc3faadb5d93ea6
parent82c9789ac4f0cba9a74d16c1b730fc64e1f95a6e
BUG/MEDIUM: list: correct fix for LIST_POP_LOCKED's removal of last element

As seen with Olivier, in the end the fix in commit 285192564 ("BUG/MEDIUM:
list: fix LIST_POP_LOCKED's removal of the last pointer") is wrong,
the code there was right but the bug was triggered by another bug in
LIST_ADDQ_LOCKED() which doesn't properly update the list's head by
inserting in the wrong order.

This will have to be backported if the commit above is backported.
include/common/mini-clist.h