SUNRPC: Add RPC client support for the RPC_AUTH_TLS auth flavor
The new authentication flavor is used only to discover peer support for RPC-over-TLS. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
This commit is contained in:
committed by
Trond Myklebust
parent
97d1c83c3f
commit
120726526e
@@ -2833,6 +2833,9 @@ static int rpc_ping(struct rpc_clnt *clnt)
|
||||
struct rpc_task *task;
|
||||
int status;
|
||||
|
||||
if (clnt->cl_auth->au_ops->ping)
|
||||
return clnt->cl_auth->au_ops->ping(clnt);
|
||||
|
||||
task = rpc_call_null_helper(clnt, NULL, NULL, 0, NULL, NULL);
|
||||
if (IS_ERR(task))
|
||||
return PTR_ERR(task);
|
||||
|
||||
Reference in New Issue
Block a user