summaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.h
diff options
context:
space:
mode:
authorMichal Luczaj <mhal@rbox.co>2025-01-28 16:15:28 +0300
committerJakub Kicinski <kuba@kernel.org>2025-01-30 05:50:37 +0300
commitaa388c72113b7458127b709bdd7d3628af26e9b4 (patch)
treeeebc0631103196010cf3c08cce0cf7cf5e88e196 /tools/lib/api/debug.h
parentfcdd2242c0231032fc84e1404315c245ae56322a (diff)
downloadlinux-aa388c72113b7458127b709bdd7d3628af26e9b4.tar.xz
vsock: Allow retrying on connect() failure
sk_err is set when a (connectible) connect() fails. Effectively, this makes an otherwise still healthy SS_UNCONNECTED socket impossible to use for any subsequent connection attempts. Clear sk_err upon trying to establish a connection. Fixes: d021c344051a ("VSOCK: Introduce VM Sockets") 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-2-1cf57065b770@rbox.co Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/api/debug.h')
0 files changed, 0 insertions, 0 deletions