diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-11-30 15:21:33 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-11-30 19:52:52 +0300 |
commit | eb5b46faa693470681ec7c28cc2436edd1571198 (patch) | |
tree | 4dda330a6762139caa411bc372f49e38ffb6a56c /net/sunrpc/xprtsock.c | |
parent | 4ba161a793d5f43757c35feff258d9f20a082940 (diff) | |
download | linux-eb5b46faa693470681ec7c28cc2436edd1571198.tar.xz |
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: |