Fix: relayd: live: unchecked return value when opening relay socket
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 18 Feb 2020 00:40:47 +0000 (19:40 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 19 Feb 2020 22:46:33 +0000 (17:46 -0500)
commit5956618c5ad982f2503f3c6c32f621624a33b62a
tree9f054792591e73e8446bb8949a01390d029334f9
parent11eecdde0092f831fa5a979478c998307e7aa8d8
Fix: relayd: live: unchecked return value when opening relay socket

fd_tracker_open_unsuspendable_fd may fail because the underlying
socket() call fails or there may be too many open file descriptors at
the time of the call. In both cases, these errors must be logged and
handled.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I3205896a5e8c83ceba02005a2b73f9466d26427c
src/bin/lttng-relayd/live.c
This page took 0.025113 seconds and 4 git commands to generate.