Commit c82e5472 authored by Trond Myklebust's avatar Trond Myklebust

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
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment