]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: thread: use the correct thread's group in ha_tkillall()
authorWilly Tarreau <w@1wt.eu>
Fri, 15 Jul 2022 06:27:56 +0000 (08:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 15 Jul 2022 17:41:26 +0000 (19:41 +0200)
commitf15c75a2d3ee636b1223ca6f243d3b56bf0462a9
treebe921507acf06866968079087ca09eacf98306ba
parent52f238d32601b513ef4716c55c01b5dd0afc548a
BUG/MINOR: thread: use the correct thread's group in ha_tkillall()

In ha_tkillall(), the current thread's group was used to check for the
thread being running instead of using the target thread's group mask.
Most of the time it would not have any effect unless some groups are
uneven where it can lead to incomplete thread dumps for example.

No backport is needed, this is purely 2.7.
src/thread.c