mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-11 00:02:43 +02:00
In MT_LIST_ADDQ() and MT_LIST_ADD() we can't just check if the element is already in a list, because there's a small race condition, it could be added between the time we checked, and the time we actually set its next and prev. So we have to lock it first. This should be backported to 2.1.