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

Commit c82e5472 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Handle connection breakages correctly in call_status()



If the connection breaks while we're waiting for a reply from the
server, then we want to immediately try to reconnect.

Fixes: ec6017d9 ("SUNRPC fix regression in umount of a secure mount")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent d5711920
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2382,7 +2382,7 @@ call_status(struct rpc_task *task)
	case -ECONNABORTED:
	case -ENOTCONN:
		rpc_force_rebind(clnt);
		/* fall through */
		break;
	case -EADDRINUSE:
		rpc_delay(task, 3*HZ);
		/* fall through */