Re: [PATCH net-next v4 1/2] af_vsock: SOCK_SEQPACKET receive timeout test

From: Stefano Garzarella
Date: Thu Mar 17 2022 - 04:49:15 EST


On Thu, Mar 17, 2022 at 08:31:49AM +0000, Krasnov Arseniy Vladimirovich wrote:
Test for receive timeout check: connection is established,
receiver sets timeout, but sender does nothing. Receiver's
'read()' call must return EAGAIN.

Signed-off-by: Krasnov Arseniy Vladimirovich <AVKrasnov@xxxxxxxxxxxxxx>
---
v3 -> v4:
1) Fix stupid bug about invalid 'if()' line.

tools/testing/vsock/vsock_test.c | 84 ++++++++++++++++++++++++++++++++
1 file changed, 84 insertions(+)

Everything is okay now, tests pass and the patch looks good to me:

Reviewed-by: Stefano Garzarella <sgarzare@xxxxxxxxxx>

Thanks,
Stefano