diff options
| author | Jakub Kicinski <[email protected]> | 2025-07-10 02:30:00 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-10 02:30:00 +0000 |
| commit | 3b932976e0a1372ceaba0ceddec27e07d49e5715 (patch) | |
| tree | edb02470822b8d7d05cb424c4cb1d8274d04f90b /net/unix/af_unix.c | |
| parent | Documentation: xsk: correct the obsolete references and examples (diff) | |
| parent | test/vsock: Add ioctl SIOCINQ tests (diff) | |
| download | kernel-3b932976e0a1372ceaba0ceddec27e07d49e5715.tar.gz kernel-3b932976e0a1372ceaba0ceddec27e07d49e5715.zip | |
Merge branch 'vsock-introduce-siocinq-ioctl-support'
Xuewei Niu says:
====================
vsock: Introduce SIOCINQ ioctl support
Introduce SIOCINQ ioctl support for vsock, indicating the length of unread
bytes.
Similar with SIOCOUTQ ioctl, the information is transport-dependent.
The first patch adds SIOCINQ ioctl support in AF_VSOCK.
Thanks to @dexuan, the second patch is to fix the issue where hyper-v
`hvs_stream_has_data()` doesn't return the readable bytes.
The third patch wraps the ioctl into `ioctl_int()`, which implements a
retry mechanism to prevent immediate failure.
The last one adds two test cases to check the functionality. The changes
have been tested, and the results are as expected.
====================
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
