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.4.3~25 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9af2abb7f084445b80eb8273ff2ab06246385406;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 7c6212444..6101fdb20 100644 --- a/src/bin/lttng-relayd/main.c +++ b/src/bin/lttng-relayd/main.c @@ -2475,6 +2475,7 @@ restart: if (revents & LPOLLIN) { if (conn->type != RELAY_DATA) { + rcu_read_unlock(); continue; }