Fix: hang in thread_rotation when using compat-poll
authorYannick Lamarre <ylamarre@efficios.com>
Thu, 25 Apr 2019 22:23:31 +0000 (18:23 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 7 May 2019 17:10:16 +0000 (13:10 -0400)
commit625503a481173603b3bef61d3f6de2932380a04d
tree4b57aa6f478bfd5e0f5d7608834ce2617bf1aaf8
parentfb127ee295b59f76a37be9d5dc40e0e618f1bc16
Fix: hang in thread_rotation when using compat-poll

Add missing verification to prevent a blocking read on an empty fd.

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