]> git.kaiwu.me - haproxy.git/commit
MINOR: wdt: use ltid_bit in wdt_handler()
authorWilly Tarreau <w@1wt.eu>
Mon, 27 Jun 2022 14:20:13 +0000 (16:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Jul 2022 17:15:14 +0000 (19:15 +0200)
commitadc1f52c9292a3d904da3b4b226af0c89382a712
tree32bbdcd037714ade05eecb91d36adfc7ad722f6c
parent38d0712748b9d05d82677148eefdfdd58d7764f5
MINOR: wdt: use ltid_bit in wdt_handler()

Since commit cc7a11ee3 ("MINOR: threads: set the tid, ltid and their bit
in thread_cfg") we ought not use (1UL << thr) to get the group mask for
thread <thr>, but (ha_thread_info[thr].ltid_bit). wdt_handler() needs
this.
src/wdt.c