Re: [PATCH] vhost: improve truncated messages handling

2023-01-27 Thread Maxime Coquelin
On 1/27/23 14:57, Maxime Coquelin wrote: This patch improves truncated messages logging to ease debugging. First, it differentiates between message's buffer truncation and control data truncation. Indeed, MSG_CTRUNC can happen even if enough room was provided, in case LSM detects access right

[PATCH] vhost: improve truncated messages handling

2023-01-27 Thread Maxime Coquelin
This patch improves truncated messages logging to ease debugging. First, it differentiates between message's buffer truncation and control data truncation. Indeed, MSG_CTRUNC can happen even if enough room was provided, in case LSM detects access rights issue. Then, it does not return directly in