X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.c;h=948a81d804428a01582b0466cb2e7433eb87dc4e;hb=2238ee81be8df1c02a55c731ad9a52a4c0b219a6;hp=3896875f50e999076b2296829e19eab5f665ad5c;hpb=e7a6ca28c9cf99d9ec71fd01ebb4804e1bc896df;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) {