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:54:49 +0000 (11:54 -0400)
commita2fe8e46e08f794cc5bce047e507e5a86600e9d4
tree6d7d53e0315ffbc442981795a3af7fb0417940d0
parent14a701d36e7227bf065ec6903d527ba3a2fa4bd8
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.025491 seconds and 4 git commands to generate.