]> 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)
commit41872f0e49110e5ba5b08a598c1648e5979dcb4a
tree3e81d57338000d5d640835fc4acb2a2aa4155e13
parentfd9331b71e04e56a8b9e3751e8de85dfd09dd656
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: adc30151888a ("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