]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdcb306804ac5f8d80f4dd26ecaa498a5d052b061
treed93e100fda8ebc7a6e551393abce6969aada9e23
parent65d3820115b088ef827d5c619aed92b788398bf2
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: 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