]> git.lttng.org Git - lttng-tools.git/commitdiff
Fix: relayd: unbalanced RCU read lock/unlock
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Nov 2014 17:42:05 +0000 (18:42 +0100)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 27 Nov 2014 20:14:00 +0000 (15:14 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/main.c

index 69131a7bb374e9d73666449588fcf6ddc2251553..24288d28756642fe3c74b68e04611326e9387007 100644 (file)
@@ -2620,6 +2620,7 @@ restart:
 
                                if (revents & LPOLLIN) {
                                        if (conn->type != RELAY_DATA) {
+                                               rcu_read_unlock();
                                                continue;
                                        }
 
This page took 0.030942 seconds and 4 git commands to generate.