From 46ac78177987aa284c61f06aae02577d2c078d92 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sat, 4 Jul 2020 07:16:18 +0200 Subject: [PATCH] BUILD: mux-h2: fix typo breaking build when using DEBUG_LOCK A typo was accidently introduced in commit 48ce6a3 ("BUG/MEDIUM: muxes: Make sure nobody stole the connection before using it."), a "&" was placed in front of "OTHER_LOCK", which breaks DEBUG_LOCK. No backport is needed. --- src/mux_h2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mux_h2.c b/src/mux_h2.c index 08120e9866..beaf1a1046 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -3714,7 +3714,7 @@ static struct task *h2_timeout_task(struct task *t, void *context, unsigned shor */ if (!t->context) { h2c = NULL; - HA_SPIN_UNLOCK(&OTHER_LOCK, &idle_conns[tid].takeover_lock); + HA_SPIN_UNLOCK(OTHER_LOCK, &idle_conns[tid].takeover_lock); goto do_leave; } -- 2.47.3