]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb7385a05df22103fc7e4f7d190a21f2891583182
tree3e81d57338000d5d640835fc4acb2a2aa4155e13
parenta657ce55b6d2bb5989b4fed6eaca8a240b30901b
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: 3f9de78f0157 ("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