]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ksmbd: do not set SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1
authorNamjae Jeon <linkinjeon@kernel.org>
Tue, 2 Apr 2024 00:31:22 +0000 (09:31 +0900)
committerSteve French <stfrench@microsoft.com>
Tue, 2 Apr 2024 14:21:25 +0000 (09:21 -0500)
commit5ed11af19e56f0434ce0959376d136005745a936
tree7082909bd4f1e2e057fead6bcec4624c2c3eb1e7
parenta677ebd8ca2f2632ccdecbad7b87641274e15aac
ksmbd: do not set SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1

SMB2_GLOBAL_CAP_ENCRYPTION flag should be used only for 3.0 and
3.0.2 dialects. This flags set cause compatibility problems with
other SMB clients.

Reported-by: James Christopher Adduono <jc@adduono.com>
Tested-by: James Christopher Adduono <jc@adduono.com>
Cc: stable@vger.kernel.org
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/smb2ops.c