diff options
| author | Stefano Garzarella <[email protected]> | 2019-12-18 19:07:05 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-12-20 21:09:21 -0800 |
| commit | 770ce0078cbf97262e86c9cc210684ce3b4266f5 (patch) | |
| tree | 85e0eea8ad26fec89991c34184144bd5ae8bbf73 /tools/perf/scripts/python/netdev-times.py | |
| parent | cdbcc18de10a7d72b821fe40fbc2d0ec61e39448 (diff) | |
vsock_test: wait for the remote to close the connection
Before check if a send returns -EPIPE, we need to make sure the
connection is closed.
To do that, we use epoll API to wait EPOLLRDHUP or EPOLLHUP events
on the socket.
Reported-by: Jorgen Hansen <[email protected]>
Signed-off-by: Stefano Garzarella <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions