From: David Goulet Date: Wed, 12 Dec 2012 18:39:37 +0000 (-0500) Subject: Remove MSG_WAITALL on every recvmsg() socket type X-Git-Tag: v2.1.0~64 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=7c5aef6226a4752f3a4e60cd0b52c741dced395e;hp=7c5aef6226a4752f3a4e60cd0b52c741dced395e Remove MSG_WAITALL on every recvmsg() socket type In order to handle messages that are possibly larger than the socket buffer size set by wmem_max and rmem_max /proc files, ensure that the recv-side reads the data chunk-wise rather than hanging on a MSG_WAITALL. In addition to fixing this issue, chances are that it will also help fixing hangs detected due to UNIX socket buffers filling up. The MSG_WAITALL behavior in such situations might be unexpected. Acked-by: Mathieu Desnoyers Signed-off-by: David Goulet ---