summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorOlga Kornievskaia <kolga@netapp.com>2024-02-21 02:25:34 +0300
committerSasha Levin <sashal@kernel.org>2024-03-27 01:17:26 +0300
commitb41e86bfe9d1b26c1f4dab5a5ad45c8ed78f9341 (patch)
tree4e2c251bd44928f2404658b8aca2601a60cab6eb /drivers/acpi
parent138257cb966aee66796301b13a843b30e0722d48 (diff)
downloadlinux-b41e86bfe9d1b26c1f4dab5a5ad45c8ed78f9341.tar.xz
NFSv4.1/pnfs: fix NFS with TLS in pnfs
[ Upstream commit a35518cae4b325632840bc8c3aa9ad9bac430038 ] Currently, even though xprtsec=tls is specified and used for operations to MDS, any operations that go to DS travel over unencrypted connection. Or additionally, if more than 1 DS can serve the data, then trunked connections are also done unencrypted. IN GETDEVINCEINFO, we get an entry for the DS which carries a protocol type (which is TCP), then nfs4_set_ds_client() gets called with TCP instead of TCP with TLS. Currently, each trunked connection is created and uses clp->cl_hostname value which if TLS is used would get passed up in the handshake upcall, but instead we need to pass in the appropriate trunked address value. Fixes: c8407f2e560c ("NFS: Add an "xprtsec=" NFS mount option") Signed-off-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions