Fix: lttng conf.c: use zmalloc()
[lttng-tools.git] / src / bin / lttng-relayd / main.c
index 4c871d879a9393ce5edb4640abb06864f740d9b7..0fad1264ab13b9e169b2e20fd02bedece26812b2 100644 (file)
@@ -2337,7 +2337,6 @@ int relay_process_data(struct relay_connection *conn)
                                stream->tracefile_size, stream->tracefile_count,
                                relayd_uid, relayd_gid, stream->fd,
                                &(stream->tracefile_count_current), &stream->fd);
-               stream->total_index_received = 0;
                pthread_mutex_unlock(&stream->viewer_stream_rotation_lock);
                if (ret < 0) {
                        ERR("Rotating stream output file");
@@ -2621,6 +2620,7 @@ restart:
 
                                if (revents & LPOLLIN) {
                                        if (conn->type != RELAY_DATA) {
+                                               rcu_read_unlock();
                                                continue;
                                        }
 
This page took 0.0248 seconds and 4 git commands to generate.