Fix: RCU hash table seed
[lttng-tools.git] / src / common / consumer.c
index acbc6783b8f20cc4796526d1719d92e7a918cbc1..e66edee2b79609cdcb76c77bca74b04d97b50da9 100644 (file)
@@ -2754,7 +2754,7 @@ int consumer_data_pending(uint64_t id)
        ht = consumer_data.stream_list_ht;
 
        cds_lfht_for_each_entry_duplicate(ht->ht,
-                       ht->hash_fct((void *)((unsigned long) id), 0x42UL),
+                       ht->hash_fct((void *)((unsigned long) id), lttng_ht_seed),
                        ht->match_fct, (void *)((unsigned long) id),
                        &iter.iter, stream, node_session_id.node) {
                /* If this call fails, the stream is being used hence data pending. */
This page took 0.023828 seconds and 4 git commands to generate.