ksmbd: add missing calling smb2_set_err_rsp() on error
Subsystems (2)
Namjae Jeon
maintainerPATCH 1/1 ksmbd: add missing calling smb2_set_err_rsp() on error
If some error happen on smb2_sess_setup(), Need to call smb2_set_err_rsp() to set error response.
This patch add missing calling smb2_set_err_rsp() on error.
Signed-off-by Namjae Jeon <[email protected]>
--- fs/smb/server/smb2pdu.c | 1 + 1 file changed, 1 insertion(+)
fs/smb/server/smb2pdu.c +1 -0
@@ -1904,6 +1904,7 @@ int smb2_sess_setup(struct ksmbd_work *work)ksmbd_conn_set_need_negotiate (conn); } } +smb2_set_err_rsp (work); }else {unsigned int iov_len;
Signature · 1 line
2.25.1