diff options
author | Xiu Jianfeng <xiujianfeng@huawei.com> | 2022-11-16 20:22:37 +0800 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-12-11 08:33:31 -0600 |
commit | bc044414fa0326a4e5c3c509c00b1fcaf621b5f4 (patch) | |
tree | 47c84c8187124ab9480207df68f410259f846090 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 30429388531b120902126a39cf64f877fc5c7773 (diff) |
ksmbd: Fix resource leak in ksmbd_session_rpc_open()
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@huawei.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions