]> www.infradead.org Git - users/dwmw2/linux.git/commit
vsock/test: Introduce vsock_bind()
authorMichal Luczaj <mhal@rbox.co>
Tue, 28 Jan 2025 13:15:29 +0000 (14:15 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Jan 2025 02:50:37 +0000 (18:50 -0800)
commit852a00c4281d3c4cf82020421cc9b5b05d53e93f
tree45a04d944cb83eb833cdaa5a7ed772d993f76ea8
parentaa388c72113b7458127b709bdd7d3628af26e9b4
vsock/test: Introduce vsock_bind()

Add a helper for socket()+bind(). Adapt callers.

Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Luigi Leonardi <leonardi@redhat.com>
Signed-off-by: Michal Luczaj <mhal@rbox.co>
Link: https://patch.msgid.link/20250128-vsock-transport-vs-autobind-v3-3-1cf57065b770@rbox.co
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/vsock/util.c
tools/testing/vsock/util.h
tools/testing/vsock/vsock_test.c