Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9455e3f4 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Ensure call_status() deals correctly with SOFTCONN tasks

parent 150e7260
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2004,6 +2004,10 @@ call_status(struct rpc_task *task)
	case -EHOSTDOWN:
	case -EHOSTUNREACH:
	case -ENETUNREACH:
		if (RPC_IS_SOFTCONN(task)) {
			rpc_exit(task, status);
			break;
		}
		/*
		 * Delay any retries for 3 seconds, then handle as if it
		 * were a timeout.