From: Mathieu Desnoyers Date: Fri, 21 Nov 2014 17:42:05 +0000 (+0100) Subject: Fix: relayd: unbalanced RCU read lock/unlock X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b4caf944ac9fdbee5da7441b66ab7ba0796e36ca;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 78974af4c..f7c24b896 100644 --- a/src/bin/lttng-relayd/main.c +++ b/src/bin/lttng-relayd/main.c @@ -2622,6 +2622,7 @@ restart: if (revents & LPOLLIN) { if (conn->type != RELAY_DATA) { + rcu_read_unlock(); continue; }