commit | bd20ad58748eafbded464f574ed84dbbdad31e8d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Feb 28 11:09:56 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Feb 28 15:10:15 2019 +0100 |
tree | 7b3097da806a45c789a7e9fdb554fe9fe1050263 | |
parent | 18215cba6a51e88bbd4c0f993ffcebfd92d43a47 [diff] |
BUG/MEDIUM: list: fix the rollback on addq in the locked liss Commit a8434ec14 ("MINOR: lists: Implement locked variations.") introduced locked lists which use the elements pointers as locks for concurrent operations. A copy-paste typo in LIST_ADDQ_LOCKED() causes corruption in the list in case the next pointer is already held, as it restores the previous pointer into the next one. It may impact the server pools. This will have to be backported if the commit above is backported.