]> Gentwo Git Trees - linux/.git/commit
pnfs: Set transport security policy to RPC_XPRTSEC_NONE unless using TLS
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 19 Oct 2025 00:10:35 +0000 (20:10 -0400)
committerAnna Schumaker <anna.schumaker@oracle.com>
Mon, 10 Nov 2025 15:32:28 +0000 (10:32 -0500)
commit8ab523ce78d4ca13add6b4ecbacff0f84c274603
tree2ca5b0058466233c7e996be9d45af10f37d21a36
parent28e19737e1570c7c71890547c2e43c3e0da79df9
pnfs: Set transport security policy to RPC_XPRTSEC_NONE unless using TLS

The default setting for the transport security policy must be
RPC_XPRTSEC_NONE, when using a TCP or RDMA connection without TLS.
Conversely, when using TLS, the security policy needs to be set.

Fixes: 6c0a8c5fcf71 ("NFS: Have struct nfs_client carry a TLS policy field")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
fs/nfs/nfs3client.c
fs/nfs/nfs4client.c