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.5.3~32 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0b1b40a9acf0b09f82c008f8d536acc6fe8eded4;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 69131a7bb..24288d287 100644 --- a/src/bin/lttng-relayd/main.c +++ b/src/bin/lttng-relayd/main.c @@ -2620,6 +2620,7 @@ restart: if (revents & LPOLLIN) { if (conn->type != RELAY_DATA) { + rcu_read_unlock(); continue; }