mirror of
https://github.com/torvalds/linux.git
synced 2026-05-10 09:09:50 -04:00
SUNRPC: Allow connect to return EHOSTUNREACH
[ Upstream commit 4ba161a793 ]
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Tested-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
8f8b2c79c4
commit
ca4b61373e
@@ -2437,6 +2437,7 @@ static void xs_tcp_setup_socket(struct work_struct *work)
|
||||
case -ECONNREFUSED:
|
||||
case -ECONNRESET:
|
||||
case -ENETUNREACH:
|
||||
case -EHOSTUNREACH:
|
||||
case -EADDRINUSE:
|
||||
case -ENOBUFS:
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user