diff options
author | 2023-09-15 14:14:49 +0200 | |
---|---|---|
committer | 2023-09-17 17:42:37 +0100 | |
commit | a0bcb83577165b0d6fb948c8ab207a1dd7146f6f (patch) | |
tree | 62f2c0ee6e94f8d50b12e55e2997ccf2b3ff0765 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | vsock/test: add recv_buf() utility function (diff) | |
download | wireguard-linux-a0bcb83577165b0d6fb948c8ab207a1dd7146f6f.tar.xz wireguard-linux-a0bcb83577165b0d6fb948c8ab207a1dd7146f6f.zip |
vsock/test: use recv_buf() in vsock_test.c
We have a very common pattern used in vsock_test that we can
now replace with the new recv_buf().
This allows us to reuse the code we already had to check the
actual return value and wait for all bytes to be received 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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions