diff --git a/include/haproxy/list.h b/include/haproxy/list.h index 1e45b63a0..9d376494e 100644 --- a/include/haproxy/list.h +++ b/include/haproxy/list.h @@ -244,6 +244,7 @@ if ((el)->next != (el) || (el)->prev != (el)) { \ (n)->prev = p; \ (lh)->next = n; \ + __ha_barrier_store(); \ break; \ } \ (el)->next = n; \ @@ -283,6 +284,7 @@ if ((el)->next != (el) || (el)->prev != (el)) { \ p->next = n; \ (lh)->prev = p; \ + __ha_barrier_store(); \ break; \ } \ (el)->next = n; \