Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: hinic: fix the issue of CMDQ memory leaks
[ Upstream commit 363cc87 ] When hinic_set_cmdq_depth() fails in hinic_init_cmdqs(), the cmdq memory is not released correctly. Fix it. Fixes: 72ef908 ("hinic: add three net_device_ops of vf") Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information