summaryrefslogtreecommitdiffstats
path: root/fs/ksmbd/Kconfig
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2021-10-31 02:53:50 +0200
committerSteve French <stfrench@microsoft.com>2021-11-12 02:22:28 +0100
commit5d2f0b1083eb158bdff01dd557e2c25046c0a7d2 (patch)
tree55a1c48c604f1be6f0ac3ca1512ecf87ad84717e /fs/ksmbd/Kconfig
parentksmbd: don't need 8byte alignment for request length in ksmbd_check_message (diff)
downloadlinux-5d2f0b1083eb158bdff01dd557e2c25046c0a7d2.tar.xz
linux-5d2f0b1083eb158bdff01dd557e2c25046c0a7d2.zip
ksmbd: set unique value to volume serial field in FS_VOLUME_INFORMATION
Steve French reported ksmbd set fixed value to volume serial field in FS_VOLUME_INFORMATION. Volume serial value needs to be set to a unique value for client fscache. This patch set crc value that is generated with share name, path name and netbios name to volume serial. Fixes: e2f34481b24d ("cifsd: add server-side procedures for SMB3") Cc: stable@vger.kernel.org # v5.15 Reported-by: Steve French <smfrench@gmail.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/Kconfig')
-rw-r--r--fs/ksmbd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ksmbd/Kconfig b/fs/ksmbd/Kconfig
index b83cbd756ae5..6af339cfdc04 100644
--- a/fs/ksmbd/Kconfig
+++ b/fs/ksmbd/Kconfig
@@ -19,6 +19,7 @@ config SMB_SERVER
select CRYPTO_GCM
select ASN1
select OID_REGISTRY
+ select CRC32
default n
help
Choose Y here if you want to allow SMB3 compliant clients