diff options
| author | Namjae Jeon <[email protected]> | 2021-09-22 12:00:57 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2021-09-22 22:21:05 +0000 |
| commit | 18a015bccf9e8927008d0a255c9f14b8ec15a648 (patch) | |
| tree | 4ec713a6049d0090903a0ae37bfe4547d9fc7dc3 /drivers/fpga/ice40-spi.c | |
| parent | ksmbd: add default data stream name in FILE_STREAM_INFORMATION (diff) | |
| download | kernel-18a015bccf9e8927008d0a255c9f14b8ec15a648.tar.gz kernel-18a015bccf9e8927008d0a255c9f14b8ec15a648.zip | |
ksmbd: check protocol id in ksmbd_verify_smb_message()
When second smb2 pdu has invalid protocol id, ksmbd doesn't detect it
and allow to process smb2 request. This patch add the check it in
ksmbd_verify_smb_message() and don't use protocol id of smb2 request as
protocol id of response.
Reviewed-by: Ronnie Sahlberg <[email protected]>
Reviewed-by: Ralph Böhme <[email protected]>
Reported-by: Ronnie Sahlberg <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/fpga/ice40-spi.c')
0 files changed, 0 insertions, 0 deletions
