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