diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2023-09-15 15:14:51 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-09-17 19:42:37 +0300 |
commit | 2a8548a9bb4c4ba14badd6be72f1d2b87a6bddc0 (patch) | |
tree | 93d5186619bc02190d3f18a1010aee016a8c8499 /include | |
parent | 12329bd51fdcde211fd9c76015ded4db3458ba8a (diff) | |
download | linux-2a8548a9bb4c4ba14badd6be72f1d2b87a6bddc0.tar.xz |
vsock/test: use send_buf() in vsock_test.c
We have a very common pattern used in vsock_test that we can
now replace with the new send_buf().
This allows us to reuse the code we already had to check the
actual return value and wait for all the bytes to be sent with
an appropriate timeout.
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Arseniy Krasnov <avkrasnov@salutedevices.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions