commit | 7a84399e1ce3f5f2fbec3e7dd93459ba25badc2f | [log] [tgz] |
---|---|---|
author | Namjae Jeon <linkinjeon@kernel.org> | Mon May 16 16:23:28 2022 +0900 |
committer | Steve French <stfrench@microsoft.com> | Sat May 21 15:01:43 2022 -0500 |
tree | a625800ad360f10a2961058406373e35999d0707 | |
parent | 65bb45b97b578c8eed1ffa80caec84708df49729 [diff] |
ksmbd: fix wrong smbd max read/write size check smb-direct max read/write size can be different with smb2 max read/write size. So smb2_read() can return error by wrong max read/write size check. This patch use smb_direct_max_read_write_size for this check in smb-direct read/write(). Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com> Signed-off-by: Steve French <stfrench@microsoft.com>