Fix: add missing rcu_barrier at end of sessiond main
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 24 Aug 2015 19:03:35 +0000 (15:03 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Sep 2015 13:11:41 +0000 (09:11 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/main.c

index f001c972fe37da5529d012bedbef07d0c78b380d..2ace82b966f9bb692e80591a38d28f6b22f28798 100644 (file)
@@ -6028,6 +6028,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.027115 seconds and 4 git commands to generate.