From: David Goulet Date: Fri, 7 Dec 2012 17:05:24 +0000 (-0500) Subject: Fix: check ht_del ret value of ust app session X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=c4a1715b6c7b500eac97e149b3994a877f3023bb;hp=c4a1715b6c7b500eac97e149b3994a877f3023bb;p=lttng-tools.git Fix: check ht_del ret value of ust app session 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 Signed-off-by: David Goulet ---