]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: task: fix thread assignment in tasklet_kill()
authorWilly Tarreau <w@1wt.eu>
Wed, 15 Jun 2022 13:54:56 +0000 (15:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 16 Jun 2022 16:17:44 +0000 (18:17 +0200)
commit9b3aa63df776bef42a929b7c585ae33a61a75f41
tree7439ec07379f8d7062bd6aece7fe556fc08351b5
parente06f7459faf36f5f63092cb6ce89d281dfc4ee6a
BUG/MINOR: task: fix thread assignment in tasklet_kill()

tasklet_kill() was introduced in 2.5-dev4 with commit 7b368339a
("MEDIUM: task: implement tasklet kill"), but a comparison error
there makes tasklets killed on thread 1 assigned to the killing
thread. Fortunately, the function was finally not used so there's
no harm right now, hence the minor tag, but this must be fixed and
backported in case a later fix relies on it.

This should be backported to 2.5.
src/task.c