]> git.lttng.org Git - lttng-tools.git/commit
Fix: reverse channel and metadata cache lock nesting order
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 8 Jan 2017 19:29:09 +0000 (14:29 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 9 Jan 2017 17:34:34 +0000 (12:34 -0500)
commit69018d12995a4fb76285cd77e9ad013ac81c0b27
treee48b4dfb74cd4cab822eda6bc9f55620c8099ed2
parentbaeec542869846dd885d992795405907878c6d9a
Fix: reverse channel and metadata cache lock nesting order

CID 1368319:  Program hangs  (ORDER_REVERSAL)

The lttng_consumer_channel lock must be nested outside of the
metadata cache lock, as indicated in the structure's comments.

Reported-by: Coverity Scan
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer/consumer.c
This page took 0.029619 seconds and 4 git commands to generate.