From: Mathieu Desnoyers Date: Fri, 21 Nov 2014 17:42:05 +0000 (+0100) Subject: Fix: relayd: unbalanced RCU read lock/unlock X-Git-Tag: v2.6.0-rc4~38 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=317e95decb02593463f1d6665d689965b334032c;p=lttng-tools.git Fix: relayd: unbalanced RCU read lock/unlock Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-relayd/main.c b/src/bin/lttng-relayd/main.c index 4c871d879..ba7596c7e 100644 --- a/src/bin/lttng-relayd/main.c +++ b/src/bin/lttng-relayd/main.c @@ -2621,6 +2621,7 @@ restart: if (revents & LPOLLIN) { if (conn->type != RELAY_DATA) { + rcu_read_unlock(); continue; }