diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-11-30 13:21:33 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-11-30 17:52:52 +0100 |
commit | eb5b46faa693470681ec7c28cc2436edd1571198 (patch) | |
tree | 4dda330a6762139caa411bc372f49e38ffb6a56c /net/sunrpc/xprtsock.c | |
parent | SUNRPC: Allow connect to return EHOSTUNREACH (diff) | |
download | linux-eb5b46faa693470681ec7c28cc2436edd1571198.tar.xz linux-eb5b46faa693470681ec7c28cc2436edd1571198.zip |
SUNRPC: Handle ENETDOWN errors
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
-rw-r--r-- | net/sunrpc/xprtsock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index c2b2d489b57b..7fa94abfd6b2 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c @@ -2439,6 +2439,7 @@ static void xs_tcp_setup_socket(struct work_struct *work) */ case -ECONNREFUSED: case -ECONNRESET: + case -ENETDOWN: case -ENETUNREACH: case -EHOSTUNREACH: case -EADDRINUSE: |