diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-05-07 13:48:21 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2022-05-07 14:30:40 -0400 |
commit | 3d1b0d351441c2be7de082b92f43d0bfdc95a8f3 (patch) | |
tree | 50d6b14581e3af6be4867bfd7252f4c508b348ab /net/sunrpc/clnt.c | |
parent | 4b97bac0756a81cda5afd45417a99b5bccdcff67 (diff) | |
download | linux-stable-3d1b0d351441c2be7de082b92f43d0bfdc95a8f3.tar.gz linux-stable-3d1b0d351441c2be7de082b92f43d0bfdc95a8f3.tar.bz2 linux-stable-3d1b0d351441c2be7de082b92f43d0bfdc95a8f3.zip |
Revert "SUNRPC: Ensure gss-proxy connects on setup"
This reverts commit 892de36fd4a98fab3298d417c051d9099af5448d.
The gssproxy server is unresponsive when it calls into the kernel to
start the upcall service, so it will not reply to our RPC ping at all.
Reported-by: "J.Bruce Fields" <bfields@fieldses.org>
Fixes: 892de36fd4a9 ("SUNRPC: Ensure gss-proxy connects on setup")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r-- | net/sunrpc/clnt.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 22c28cf43eba..98133aa54f19 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -479,9 +479,6 @@ static struct rpc_clnt *rpc_create_xprt(struct rpc_create_args *args, if (!(args->flags & RPC_CLNT_CREATE_NOPING)) { int err = rpc_ping(clnt); - if ((args->flags & RPC_CLNT_CREATE_IGNORE_NULL_UNAVAIL) && - err == -EOPNOTSUPP) - err = 0; if (err != 0) { rpc_shutdown_client(clnt); return ERR_PTR(err); |