]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: tasks: Make sure we modify global_tasks_mask with the rq_lock.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 17 Apr 2019 17:10:22 +0000 (19:10 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 17 Apr 2019 17:28:01 +0000 (19:28 +0200)
commitde82aeaa262cbb2e06ff2dcb227f6015f0ff8132
tree5e1e8209f258d75731a4d4e8e831134dad1a3e8f
parentb038007ae835ea2ed9b40532d94696a642814e9e
BUG/MEDIUM: tasks: Make sure we modify global_tasks_mask with the rq_lock.

When modifying global_tasks_mask, make sure we hold the rq_lock, or we might
remove the bit while it has been re-set by somebody else, and we make not
be waked when needed.
src/task.c