mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-01 18:21:29 +00:00
ksmbd: fix wrong error response status by using set_smb2_rsp_status()
[ Upstream commitbe0f89d441] set_smb2_rsp_status() after __process_request() sets the wrong error status. This patch resets all iov vectors and sets the error status on clean one. Fixes:e2b76ab8b5("ksmbd: add support for read compound") Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
7b58ee8d0b
commit
943cebf9ea
1 changed files with 5 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue