Re: [PATCH net-next v2 2/2] vsock/test: cover SO_INQ
From: Stefano Garzarella
Date: Fri Oct 16 2026 - 04:24:24 EST
On Thu, Oct 15, 2026 at 04:43:34PM +0100, David Carlier wrote:
Check the SCM_INQ value after a partial receive, after draining the
queue and at EOF, that no cmsg is sent while the option is off, that
accepted sockets inherit it from the listener, and that out of range
values and SOCK_SEQPACKET are rejected.
Signed-off-by: David Carlier <devnexen@xxxxxxxxx>
---
tools/testing/vsock/vsock_test.c | 279 +++++++++++++++++++++++++++++++
1 file changed, 279 insertions(+)
Reviewed-by: Stefano Garzarella <sgarzare@xxxxxxxxxx>