X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.c;h=948a81d804428a01582b0466cb2e7433eb87dc4e;hb=7fd975c523ee6e0bb45dcb13b7308b8d9d6406ba;hp=3896875f50e999076b2296829e19eab5f665ad5c;hpb=e2b6b28eb86b7d0391a514f174a566a459b41136;p=lttng-tools.git diff --git a/src/common/consumer/consumer.c b/src/common/consumer/consumer.c index 3896875f5..948a81d80 100644 --- a/src/common/consumer/consumer.c +++ b/src/common/consumer/consumer.c @@ -1726,7 +1726,8 @@ ssize_t lttng_consumer_on_read_subbuffer_mmap( /* RCU lock for the relayd pointer */ rcu_read_lock(); - assert(stream->chan->trace_chunk); + assert(stream->net_seq_idx != (uint64_t) -1ULL || + stream->chan->trace_chunk); /* Flag that the current stream if set for network streaming. */ if (stream->net_seq_idx != (uint64_t) -1ULL) {