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>
Sun, 8 Jan 2017 19:33:13 +0000 (14:33 -0500)
commitfb549e7ac25c17c8bfa0f2d407c3802ffe2609fb
tree9b83842848642ed9530a7b84ce8917c1a0a84350
parent081424af9c3314d41eda58592d9fd6a66d94e852
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.025364 seconds and 4 git commands to generate.