Fix: hold consumer socket lock for consumer_send_msg
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 10 Apr 2018 17:56:47 +0000 (13:56 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 10 Apr 2018 18:08:05 +0000 (14:08 -0400)
commit1b0afea26b25d92ebdcb2a178bd1a60085ff78aa
treedd2c8d59529051add7f22ebcbea3236dc52a654f
parent987af24193476d1cb2fbf9ddccfe5980da52f9c4
Fix: hold consumer socket lock for consumer_send_msg

The lock is held and released during the recv() section, but not
during the send section for a failure to lookup the PID registry.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/ust-consumer.c
This page took 0.026327 seconds and 4 git commands to generate.