SUNRPC: Ensure that the gssproxy client can start in a connected state
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 7 May 2022 17:53:59 +0000 (13:53 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 7 May 2022 18:31:15 +0000 (14:31 -0400)
commitfd13359f54ee854f00134abc6be32da94ec53dbf
treed93e100fda8ebc7a6e551393abce6969aada9e23
parent3d1b0d351441c2be7de082b92f43d0bfdc95a8f3
SUNRPC: Ensure that the gssproxy client can start in a connected state

Ensure that the gssproxy client connects to the server from the gssproxy
daemon process context so that the AF_LOCAL socket connection is done
using the correct path and namespaces.

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