aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorXuewei Niu <[email protected]>2025-07-08 06:36:14 +0000
committerJakub Kicinski <[email protected]>2025-07-10 02:29:52 +0000
commit613165683d344801c1d11fcacda6733f3b679e51 (patch)
treeedb02470822b8d7d05cb424c4cb1d8274d04f90b /net/unix/af_unix.c
parenttest/vsock: Add retry mechanism to ioctl wrapper (diff)
downloadkernel-613165683d344801c1d11fcacda6733f3b679e51.tar.gz
kernel-613165683d344801c1d11fcacda6733f3b679e51.zip
test/vsock: Add ioctl SIOCINQ tests
Add SIOCINQ ioctl tests for both SOCK_STREAM and SOCK_SEQPACKET. The client waits for the server to send data, and checks if the SIOCINQ ioctl value matches the data size. After consuming the data, the client checks if the SIOCINQ value is 0. Signed-off-by: Xuewei Niu <[email protected]> Reviewed-by: Stefano Garzarella <[email protected]> Tested-by: Luigi Leonardi <[email protected]> Reviewed-by: Luigi Leonardi <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions