From: Mathieu Desnoyers Date: Mon, 24 Aug 2015 19:03:35 +0000 (-0400) Subject: Fix: add missing rcu_barrier at end of sessiond main X-Git-Tag: v2.8.0-rc1~420 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0658924ecc1b36649ec467474bb82db8032a80c0;p=lttng-tools.git Fix: add missing rcu_barrier at end of sessiond main Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 6310db7e6..43f750a82 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -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 {