]> git.baikalelectronics.ru Git - kernel.git/commit
SMB3: Honor 'seal' flag for multiuser mounts
authorPaul Aurich <paul@darkrain42.org>
Fri, 26 Jun 2020 19:58:05 +0000 (12:58 -0700)
committerSteve French <stfrench@microsoft.com>
Thu, 2 Jul 2020 00:38:46 +0000 (19:38 -0500)
commitb5640f25f8313098134918a8bd6625275fe2a632
tree28acf5ecdef2c23ba11853add89e2a9d32071205
parent2cee78ed68e15a86908328e27023e6230307b545
SMB3: Honor 'seal' flag for multiuser mounts

Ensure multiuser SMB3 mounts use encryption for all users' tcons if the
mount options are configured to require encryption. Without this, only
the primary tcon and IPC tcons are guaranteed to be encrypted. Per-user
tcons would only be encrypted if the server was configured to require
encryption.

Signed-off-by: Paul Aurich <paul@darkrain42.org>
CC: Stable <stable@vger.kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
fs/cifs/connect.c