diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2022-09-22 23:36:34 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-10-05 01:15:44 -0500 |
commit | af705ef2b0ded0d8f54c238fdf3c17a1d47ad924 (patch) | |
tree | bc61c27e0dc14e62b584bc8dc9c60bc25cc992ba /fs/Makefile | |
parent | 360c8ee6fefdb496fffd2c18bb9a96a376a1a804 (diff) | |
download | linux-af705ef2b0ded0d8f54c238fdf3c17a1d47ad924.tar.bz2 |
ksmbd: fix encryption failure issue for session logoff response
If client send encrypted session logoff request on seal mount,
Encryption for that response fails.
ksmbd: Could not get encryption key
CIFS: VFS: cifs_put_smb_ses: Session Logoff failure rc=-512
Session lookup fails in ksmbd_get_encryption_key() because sess->state is
set to SMB2_SESSION_EXPIRED in session logoff. There is no need to do
session lookup again to encrypt the response. This patch change to use
ksmbd_session in ksmbd_work.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/Makefile')
0 files changed, 0 insertions, 0 deletions