Fix: consumer: assert that stream chunk != NULL (not channel)
[lttng-tools.git] / src / common / consumer / consumer.c
index 914eda8c5a1386f3650d6b47cc499e64986267a5..8483146c65ab6ecf3d1b026d1f33c62be4442c8a 100644 (file)
@@ -1727,9 +1727,8 @@ ssize_t lttng_consumer_on_read_subbuffer_mmap(
 
        /* RCU lock for the relayd pointer */
        rcu_read_lock();
-
        assert(stream->net_seq_idx != (uint64_t) -1ULL ||
-                       stream->chan->trace_chunk);
+                       stream->trace_chunk);
 
        /* Flag that the current stream if set for network streaming. */
        if (stream->net_seq_idx != (uint64_t) -1ULL) {
This page took 0.023632 seconds and 4 git commands to generate.