Skip to content

TLS fixes for 6.18

Trond Myklebust linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4pnfs: Fix TLS logic in _nfs4_pnfs_v3_ds_connect()fs/nfs/pnfs_nfs.c+18 -140 replies
2/4pnfs: Fix TLS logic in _nfs4_pnfs_v4_ds_connect()fs/nfs/pnfs_nfs.c+17 -170 replies
3/4pnfs: Set transport security policy to RPC_XPRTSEC_NONE unless using TLSfs/nfs/nfs3client.c fs/nfs/nfs4client.c+24 -41 reply
4/4NFS: Check the TLS certificate fields in nfs_match_client()fs/nfs/client.c+8 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchChuck Lever
1/4
2/4
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] TLS fixes for 6.18

From: Trond Myklebust <[email protected]>

The following patches fix a couple of logic errors in the pNFS files and flexfiles drivers' use of TLS. The first two fix logic errors which can cause TLS-incapable protocols such as RDMA to be added to existing TLS/TCP NFS clients.
The second patch adds fixes to ensure that the DS client TLS policy settings match the requested transport type.
Finally, there is a fix to ensure that if the mount syscall parameters include the "cert_serial" and "privkey_serial" options, then nfs_match_client() will check those parameters against existing nfs_client instances.

Trond Myklebust (4):
pnfs: Fix TLS logic in _nfs4_pnfs_v3_ds_connect()
pnfs: Fix TLS logic in _nfs4_pnfs_v4_ds_connect()
pnfs: Set transport security policy to RPC_XPRTSEC_NONE unless using
TLS
NFS: Check the TLS certificate fields in nfs_match_client()

 fs/nfs/client.c     |  8 ++++++
 fs/nfs/nfs3client.c | 14 ++++++++--
 fs/nfs/nfs4client.c | 14 ++++++++--
 fs/nfs/pnfs_nfs.c   | 66 ++++++++++++++++++++++++---------------------
 4 files changed, 67 insertions(+), 35 deletions(-)
Signature · 1 line
2.51.0