Fix: add missing rcu_barrier at end of sessiond main
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index 6310db7e601654f5d5f3bc0c1bae41cf866c532a..43f750a820fbf7c087ca9e5df4d275b3cc065cc9 100644 (file)
@@ -6058,6 +6058,9 @@ exit_options:
        sessiond_cleanup_options();
 
 exit_set_signal_handler:
+       /* Ensure all prior call_rcu are done. */
+       rcu_barrier();
+
        if (!retval) {
                exit(EXIT_SUCCESS);
        } else {
This page took 0.033069 seconds and 4 git commands to generate.