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 17:07:42 +0000 (12:07 -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 4c871d879a9393ce5edb4640abb06864f740d9b7..ba7596c7ecb94355f5ed2df336694da3a9fc13a4 100644 (file)
@@ -2621,6 +2621,7 @@ restart:
 
                                if (revents & LPOLLIN) {
                                        if (conn->type != RELAY_DATA) {
+                                               rcu_read_unlock();
                                                continue;
                                        }
 
This page took 0.027474 seconds and 4 git commands to generate.