Fix: relayd: unchecked return value when opening relay socket
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 18 Feb 2020 00:32:54 +0000 (19:32 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 19 Feb 2020 22:47:41 +0000 (17:47 -0500)
commit959de99b2bb3c474b1bd624f1dd3c5376d440662
treeda22b7d892d934323cd3ab44d11915e46eff7bda
parent4f2a40d56c5cf84efab7c4cce066152b1ce7676a
Fix: relayd: 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: I8b8c4fcc9de08746a91778b58c74b2118e98667b
src/bin/lttng-relayd/main.c
This page took 0.025165 seconds and 4 git commands to generate.