Fix: sessiond ust-app session teardown race
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 16 Aug 2015 21:10:22 +0000 (17:10 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 2 Sep 2015 16:36:26 +0000 (12:36 -0400)
Add a deleted flag within the ust app session which is raised (with ust
app session lock held) at delete, and checked within each RCU traversal,
again with ust app session lock held.

This takes care of races between teardown of an application (unregister)
and execution of commands which are accessing the app session
concurrently.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

No differences found
This page took 0.031468 seconds and 4 git commands to generate.