Re: [PATCH] ksmbd: Fix resource leak in ksmbd_session_rpc_open()

From: Namjae Jeon
Date: Mon Nov 21 2022 - 22:23:51 EST


2022-11-16 21:22 GMT+09:00, Xiu Jianfeng <xiujianfeng@xxxxxxxxxx>:
> When ksmbd_rpc_open() fails then it must call ksmbd_rpc_id_free() to
> undo the result of ksmbd_ipc_id_alloc().
>
> Fixes: e2f34481b24d ("cifsd: add server-side procedures for SMB3")
> Signed-off-by: Xiu Jianfeng <xiujianfeng@xxxxxxxxxx>
Acked-by: Namjae Jeon <linkinjeon@xxxxxxxxxx>

Thanks for your patch.