Fix: check ht_del ret value of ust app session
authorDavid Goulet <dgoulet@efficios.com>
Fri, 7 Dec 2012 17:05:24 +0000 (12:05 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 7 Dec 2012 19:25:01 +0000 (14:25 -0500)
UST app sesion can be destroyed by two execution paths. Either the app
unregisters or a destroy session is triggered. So, allowing a ht_del to
fail means that the session is already scheduled for teardown in a rcu
call.

Furthermore, this means that when looking up for a ust app session that
is not found becomes valid since it means it is in the teardown process.

Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>

No differences found
This page took 0.028391 seconds and 5 git commands to generate.