Fix: Lock metadata cache on session destroy
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Jul 2020 18:59:33 +0000 (14:59 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Jul 2020 19:02:43 +0000 (15:02 -0400)
commitb8363d6a0a8e507bd52318305e6a8b4f116792bc
treea10542aec271cd96042f83293124cf6bdc55cf83
parent073fe00c5096e6ecceee2240418a8bab8a46569a
Fix: Lock metadata cache on session destroy

commit 92143b2c5656 ("Fix: metadata stream leak, missing list removal and locking")
missed taking a lock protecting the metadata stream list iteration on
session destroy. This opens a race window between iteration and item
removal/free which triggers kernel OOPS.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-events.c
This page took 0.026421 seconds and 4 git commands to generate.