]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
pnfs: Fix TLS logic in _nfs4_pnfs_v3_ds_connect()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 19 Oct 2025 00:10:33 +0000 (20:10 -0400)
committerAnna Schumaker <anna.schumaker@oracle.com>
Mon, 10 Nov 2025 15:32:27 +0000 (10:32 -0500)
commit7aca00d950e782e66c34fbd045c9605eca343a36
treed4d5c7a71bb42d79857a9121f7f3671b9128f063
parente9a6fb0bcdd7609be6969112f3fbfcce3b1d4a7c
pnfs: Fix TLS logic in _nfs4_pnfs_v3_ds_connect()

Don't try to add an RDMA transport to a client that is already marked as
being a TCP/TLS transport.

Fixes: 04a15263662a ("pnfs/flexfiles: connect to NFSv3 DS using TLS if MDS connection uses TLS")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
fs/nfs/pnfs_nfs.c