]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEBUG: cli: relax tid check in "debug dev task" for recent sched changes
authorWilly Tarreau <w@1wt.eu>
Wed, 24 Jun 2026 12:57:20 +0000 (14:57 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Jun 2026 16:01:08 +0000 (18:01 +0200)
commita8aba33f09b4a9b7e4ebf4aea653114158019f8a
treea854686eed24dfcb0fe2ae6c421999f4b06f9973
parent4c9431c5d4cf8cef472f01a42a6b743126509f2f
DEBUG: cli: relax tid check in "debug dev task" for recent sched changes

Since commit 0988b9c773 ("MEDIUM: tasks: Remove the per-thread group
wait queue") in 3.5-dev, a task's tid may be as negative as -MAX_THREAD-1
and not just -1, so we must accept this when trying to check if a pointer
looks like a valid task.

No backport is needed.
src/debug.c