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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 May 2022 08:26:56 +0000 (10:26 +0200)
commite05949240b4d4a07a295f7a8eec941cc4115ca38
tree3394dcb3ffb5335160c4930a925f90f59c136e75
parent962686f619aec2216da5047699ce319ae150827f
SUNRPC: Ensure that the gssproxy client can start in a connected state

commit fd13359f54ee854f00134abc6be32da94ec53dbf upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/sunrpc/clnt.h
net/sunrpc/auth_gss/gss_rpc_upcall.c
net/sunrpc/clnt.c