Skip to content
Commit bfada5a7 authored by Filippo Storniolo's avatar Filippo Storniolo Committed by David S. Miller
Browse files

test/vsock fix: add missing check on socket creation



Add check on socket() return value in vsock_listen()
and vsock_connect()

Co-developed-by: default avatarLuigi Leonardi <luigi.leonardi@outlook.com>
Signed-off-by: default avatarLuigi Leonardi <luigi.leonardi@outlook.com>
Signed-off-by: default avatarFilippo Storniolo <f.storniolo95@gmail.com>
Reviewed-by: default avatarStefano Garzarella <sgarzare@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3a5cc90a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment