diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2021-10-04 14:44:52 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-10-07 18:18:29 +0300 |
commit | c7705eec78c999485609274c7ac5c27def8b84f1 (patch) | |
tree | dcee2f880ff21b2ded1676c7483cb69729229e78 /fs/ksmbd/glob.h | |
parent | 51a1387393d98c2ba52d53d089720fa9f1463178 (diff) | |
download | linux-c7705eec78c999485609274c7ac5c27def8b84f1.tar.xz |
ksmbd: use buf_data_size instead of recalculation in smb3_decrypt_req()
Tom suggested to use buf_data_size that is already calculated, to verify
these offsets.
Cc: Tom Talpey <tom@talpey.com>
Cc: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Cc: Ralph Böhme <slow@samba.org>
Suggested-by: Tom Talpey <tom@talpey.com>
Acked-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/glob.h')
0 files changed, 0 insertions, 0 deletions