SUNRPC: Ensure gss-proxy connects on setup
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 29 Apr 2022 16:22:10 +0000 (12:22 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 29 Apr 2022 16:29:31 +0000 (12:29 -0400)
commit892de36fd4a98fab3298d417c051d9099af5448d
tree3e81d57338000d5d640835fc4acb2a2aa4155e13
parentefce2d0ba6bf70994394a5a139347ced4d172771
SUNRPC: Ensure gss-proxy connects on setup

For reasons best known to the author, gss-proxy does not implement a
NULL procedure, and returns RPC_PROC_UNAVAIL. However we still want to
ensure that we connect to the service at setup time.
So add a quirk-flag specially for this case.

Fixes: 1d658336b05f ("SUNRPC: Add RPC based upcall mechanism for RPCGSS auth")
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/clnt.h
net/sunrpc/auth_gss/gss_rpc_upcall.c
net/sunrpc/clnt.c