diff options
-rw-r--r-- | net/sunrpc/clnt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index cea1308a6fda..ef96568902c5 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -2004,6 +2004,10 @@ call_status(struct rpc_task *task) | |||
2004 | case -EHOSTDOWN: | 2004 | case -EHOSTDOWN: |
2005 | case -EHOSTUNREACH: | 2005 | case -EHOSTUNREACH: |
2006 | case -ENETUNREACH: | 2006 | case -ENETUNREACH: |
2007 | if (RPC_IS_SOFTCONN(task)) { | ||
2008 | rpc_exit(task, status); | ||
2009 | break; | ||
2010 | } | ||
2007 | /* | 2011 | /* |
2008 | * Delay any retries for 3 seconds, then handle as if it | 2012 | * Delay any retries for 3 seconds, then handle as if it |
2009 | * were a timeout. | 2013 | * were a timeout. |