projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d571192
)
SUNRPC: Handle connection breakages correctly in call_status()
author
Trond Myklebust
<trond.myklebust@hammerspace.com>
Fri, 16 Aug 2019 12:58:48 +0000
(08:58 -0400)
committer
Trond Myklebust
<trond.myklebust@hammerspace.com>
Mon, 26 Aug 2019 19:31:29 +0000
(15:31 -0400)
If the connection breaks while we're waiting for a reply from the
server, then we want to immediately try to reconnect.
Fixes: ec6017d90359 ("SUNRPC fix regression in umount of a secure mount")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/clnt.c
b/net/sunrpc/clnt.c
index 8a25440b771cedac30fd8361a79c61dadf7b851b..a07b516e503a0a8252d0f3876f38df65b812da0d 100644
(file)
--- a/
net/sunrpc/clnt.c
+++ b/
net/sunrpc/clnt.c
@@
-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 */