Fix: RCU lock imbalance on error in cmd_snapshot_list_outputs()
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 25 Aug 2016 20:20:47 +0000 (16:20 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 26 Aug 2016 15:52:43 +0000 (11:52 -0400)
commit12f9c0f01c0163d89340458c1bb4222e919e1149
treee15dd4961db33bf00c99eea770860fcd743d032e
parentf15c64e360863a01ad93dd3ee75bf582ac77c441
Fix: RCU lock imbalance on error in cmd_snapshot_list_outputs()

The error path of cmd_snapshot_list_outputs() unlocks the
rcu_read_lock. However, this path can be taken without having
ever locked before.

Fixes #1044

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/cmd.c
This page took 0.025208 seconds and 4 git commands to generate.