Commit ca370f87 authored by Yuan Can's avatar Yuan Can Committed by sanglipeng
Browse files

wifi: rsi: Fix memory leak in rsi_coex_attach()

stable inclusion
from stable-v5.10.173
commit efc8df970561ff708379b89b348e16d3b410cc7b
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8BFR3

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=efc8df970561ff708379b89b348e16d3b410cc7b



--------------------------------

[ Upstream commit 956fb851 ]

The coex_cb needs to be freed when rsi_create_kthread() failed in
rsi_coex_attach().

Fixes: 2108df3c ("rsi: add coex support")
Signed-off-by: default avatarYuan Can <yuancan@huawei.com>
Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221205061441.114632-1-yuancan@huawei.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent e0389e72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment