Fix: relayd: unbalanced RCU read lock/unlock
[lttng-tools.git] / 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.023141 seconds and 4 git commands to generate.