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:58:09 +0000 (15:58 -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 7c6212444477ac84e37d3f46ba8c0228d2a5eae4..6101fdb2043bf079f53eed3bdbb94cdf5ec26e25 100644 (file)
@@ -2475,6 +2475,7 @@ restart:
 
                                if (revents & LPOLLIN) {
                                        if (conn->type != RELAY_DATA) {
+                                               rcu_read_unlock();
                                                continue;
                                        }
 
This page took 0.027877 seconds and 4 git commands to generate.