commit | 9bb8a29d28e01bf7dcdb67f71edbca9d3826d004 | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Wed Dec 18 19:07:01 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 20 21:09:21 2019 -0800 |
tree | 5ae4d12ca7d3281a62d1741b40ff6b11f44d94a4 | |
parent | df7e0e0d237e5a4ee262befb11b599058a178966 [diff] |
VSOCK: extract connect/accept functions from vsock_diag_test.c Many test cases will need to connect to the server or accept incoming connections. This patch extracts these operations into utility functions that can be reused. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>