Re: [PATCH net-next] selftests/tls: Add MSG_WAITALL in recv() syscall

From: David Miller
Date: Mon Sep 17 2018 - 11:15:35 EST


From: Vakul Garg <vakul.garg@xxxxxxx>
Date: Sun, 16 Sep 2018 10:04:28 +0530

> A number of tls selftests rely upon recv() to return an exact number of
> data bytes. When tls record crypto is done using an async accelerator,
> it is possible that recv() returns lesser than expected number bytes.
> This leads to failure of many test cases. To fix it, MSG_WAITALL has
> been used in flags passed to recv() syscall.
>
> Signed-off-by: Vakul Garg <vakul.garg@xxxxxxx>

Applied.