diff options
| author | Namjae Jeon <[email protected]> | 2022-10-28 15:01:38 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2022-12-11 14:33:31 +0000 |
| commit | 37ba7b005a7a4454046bd8659c7a9c5330552396 (patch) | |
| tree | 6e8b61635f600462b366cb69690060f797811609 /tools/perf/scripts/python/sctop.py | |
| parent | Linux 6.1-rc8 (diff) | |
| download | kernel-37ba7b005a7a4454046bd8659c7a9c5330552396.tar.gz kernel-37ba7b005a7a4454046bd8659c7a9c5330552396.zip | |
ksmbd: set SMB2_SESSION_FLAG_ENCRYPT_DATA when enforcing data encryption for this share
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 <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
