Skip to content

Commit 4ba161a

Browse files
trondmypdamschuma-ntap
authored andcommitted
SUNRPC: Allow connect to return EHOSTUNREACH
Reported-by: Dmitry Vyukov <[email protected]> Signed-off-by: Trond Myklebust <[email protected]> Tested-by: Dmitry Vyukov <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
1 parent 445f288 commit 4ba161a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/sunrpc/xprtsock.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2440,6 +2440,7 @@ static void xs_tcp_setup_socket(struct work_struct *work)
24402440
case -ECONNREFUSED:
24412441
case -ECONNRESET:
24422442
case -ENETUNREACH:
2443+
case -EHOSTUNREACH:
24432444
case -EADDRINUSE:
24442445
case -ENOBUFS:
24452446
/*

0 commit comments

Comments
 (0)