Re: [PATCH net] net: hso: add failure handler for add_net_device
From: patchwork-bot+netdevbpf
Date: Thu Sep 02 2021 - 07:00:15 EST
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Thu, 2 Sep 2021 16:36:09 +0800 you wrote:
> If the network devices connected to the system beyond
> HSO_MAX_NET_DEVICES. add_net_device() in hso_create_net_device()
> will be failed for the network_table is full. It will lead to
> business failure which rely on network_table, for example,
> hso_suspend() and hso_resume(). It will also lead to memory leak
> because resource release process can not search the hso_device
> object from network_table in hso_free_interface().
>
> [...]
Here is the summary with links:
- [net] net: hso: add failure handler for add_net_device
https://git.kernel.org/netdev/net/c/ecdc28defc46
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html