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>
Thu, 25 Aug 2016 20:28:32 +0000 (16:28 -0400)
commit62a0c2d4933fd52b78c896cf40a935e42ea94360
tree3d70f16b4046fef91e6c442b0bbb91ff4f00e8a1
parentb07e7ef09b90a6bbb055f49bb2a6586dd45e73c9
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.02731 seconds and 5 git commands to generate.