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:10 +0000 (14:08 -0400)
commitf09bfe6f5eab40b40e9b1313528ba787fabc4f2a
tree1863fd87221531ce2f2ca2a27b76f324c8c08f20
parentb61e1dca934c1cda7632d154c243dcf56aabac60
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.026947 seconds and 5 git commands to generate.