diff options
| author | Xuewei Niu <[email protected]> | 2025-07-08 06:36:13 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-10 02:29:52 +0000 |
| commit | 53548d6bffacc610ee883d3c0e99eb476fb606d3 (patch) | |
| tree | 0186f3b408c34a6aa75fb74854a1f557c0af9a25 /net/unix/af_unix.c | |
| parent | vsock: Add support for SIOCINQ ioctl (diff) | |
| download | kernel-53548d6bffacc610ee883d3c0e99eb476fb606d3.tar.gz kernel-53548d6bffacc610ee883d3c0e99eb476fb606d3.zip | |
test/vsock: Add retry mechanism to ioctl wrapper
Wrap the ioctl in `ioctl_int()`, which takes a pointer to the actual
int value and an expected int value. The function will not return until
either the ioctl returns the expected value or a timeout occurs, thus
avoiding immediate failure.
Signed-off-by: Xuewei Niu <[email protected]>
Reviewed-by: Stefano Garzarella <[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
