- /* Go over all channels */
- cds_list_for_each_entry(ustchan, &ustsession->channels.head, list) {
+ struct cds_lfht_node *node;
+ struct cds_lfht_iter iter;
+
+ rcu_read_lock();
+ hashtable_get_first(channels, &iter);
+ while ((node = hashtable_iter_get_node(&iter)) != NULL) {
+ ustchan = caa_container_of(node, struct ltt_ust_channel, node);