]> 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)
commiteb51917ad00dfb7bcfe595b175f6997a437d547f
tree28acf5ecdef2c23ba11853add89e2a9d32071205
parent8ee501474e39d1ded36bee585dee4a69208362a9
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