aboutsummaryrefslogtreecommitdiff
path: root/fs/openpromfs/inode.c
diff options
context:
space:
mode:
authorNamjae Jeon2023-12-31 16:12:21 +0900
committerGreg Kroah-Hartman2024-01-05 15:18:27 +0100
commit343d667deee178829cd586d875bab482db66981c (patch)
treec9988f102845ebe04b0d0da30a82494696ea1cf0 /fs/openpromfs/inode.c
parentab69d3e8f7a02596ee9575bf36d8dd213fea8b2b (diff)
ksmbd: set SMB2_SESSION_FLAG_ENCRYPT_DATA when enforcing data encryption for this share
[ Upstream commit 37ba7b005a7a4454046bd8659c7a9c5330552396 ] Currently, SMB2_SESSION_FLAG_ENCRYPT_DATA is always set session setup response. Since this forces data encryption from the client, there is a problem that data is always encrypted regardless of the use of the cifs seal mount option. SMB2_SESSION_FLAG_ENCRYPT_DATA should be set according to KSMBD_GLOBAL_FLAG_SMB2_ENCRYPTION flags, and in case of KSMBD_GLOBAL_FLAG_SMB2_ENCRYPTION_OFF, encryption mode is turned off for all connections. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/openpromfs/inode.c')
0 files changed, 0 insertions, 0 deletions