acrn-kernel/fs/ksmbd/mgmt
Xiu Jianfeng f9ed133381 ksmbd: Fix resource leak in ksmbd_session_rpc_open()
[ Upstream commit bc044414fa ]

When ksmbd_rpc_open() fails then it must call ksmbd_rpc_id_free() to
undo the result of ksmbd_ipc_id_alloc().

Fixes: e2f34481b2 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:32:42 +01:00
..
ksmbd_ida.c
ksmbd_ida.h
share_config.c ksmbd: validate share name from share config response 2022-10-05 01:15:44 -05:00
share_config.h ksmbd: validate share name from share config response 2022-10-05 01:15:44 -05:00
tree_connect.c ksmbd: validate share name from share config response 2022-10-05 01:15:44 -05:00
tree_connect.h
user_config.c
user_config.h
user_session.c ksmbd: Fix resource leak in ksmbd_session_rpc_open() 2022-12-31 13:32:42 +01:00
user_session.h