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>
Sun, 23 Nov 2014 16:36:59 +0000 (11:36 -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 78974af4c545f417e748efc9dc265b2ec197522d..f7c24b896ee24e54db183928992b9c4f88d494a1 100644 (file)
@@ -2622,6 +2622,7 @@ restart:
 
                                if (revents & LPOLLIN) {
                                        if (conn->type != RELAY_DATA) {
+                                               rcu_read_unlock();
                                                continue;
                                        }
 
This page took 0.026757 seconds and 4 git commands to generate.