]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: stick-table: fix build with DEBUG_THREAD
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 12 Oct 2022 14:47:59 +0000 (16:47 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 12 Oct 2022 14:54:59 +0000 (16:54 +0200)
commit3e0648837c33f8122872ae6a4859748e7d5002f4
treeabf9b3eeba0dd1bcbe7775b030cdb61c374ca853
parentcbdb528a7635be502949651016aeea938feb4479
BUG/MINOR: stick-table: fix build with DEBUG_THREAD

Compilation is broken with DEBUG_THREAD since the following patch
  76642223f014f89cd1f374291798499f4fba7dde
  MEDIUM: stick-table: switch the table lock to rwlock

Fix this by updating a legacy HA_SPIN_INIT() to HA_RWLOCK_INIT().

No backport needed unless the mentionned patch is backported.
src/stick_table.c