[lttng-dev] [PATCH lttng-tools] Fix: relayd: unbalanced RCU read lock/unlock
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Fri Nov 21 12:42:05 EST 2014
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
---
src/bin/lttng-relayd/main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/bin/lttng-relayd/main.c b/src/bin/lttng-relayd/main.c
index 03ea108..c9f2021 100644
--- a/src/bin/lttng-relayd/main.c
+++ b/src/bin/lttng-relayd/main.c
@@ -2616,6 +2616,7 @@ restart:
if (revents & LPOLLIN) {
if (conn->type != RELAY_DATA) {
+ rcu_read_unlock();
continue;
}
--
2.1.1
More information about the lttng-dev
mailing list