fix: lttng-relayd: use appropriate RCU locking with hash tables
[lttng-tools.git] / src / bin / lttng-relayd / lttng-relayd.h
index 8bbc279c3a61f993f322988935b1847976e9ccf0..bec13496ca26ab5944853bb0dacadebeb8b2436f 100644 (file)
@@ -53,6 +53,7 @@ struct relay_stream {
        uint64_t seq;
        struct lttng_ht_node_ulong stream_n;
        struct relay_session *session;
+       struct rcu_head rcu_node;
        int fd;
 };
 
@@ -65,6 +66,7 @@ struct relay_command {
        struct relay_session *session;
        struct cds_wfq_node node;
        struct lttng_ht_node_ulong sock_n;
+       struct rcu_head rcu_node;
        enum connection_type type;
 };
 
This page took 0.022995 seconds and 4 git commands to generate.