[PATCH net] net: stmmac: fix possible memory leak in stmmac_dvr_probe()
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Fri Dec 9 03:00:16 PST 2022
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem at davemloft.net>:
On Wed, 7 Dec 2022 16:34:13 +0800 you wrote:
> The bitmap_free() should be called to free priv->af_xdp_zc_qps
> when create_singlethread_workqueue() fails, otherwise there will
> be a memory leak, so we add the err path error_wq_init to fix it.
>
> Fixes: bba2556efad6 ("net: stmmac: Enable RX via AF_XDP zero-copy")
> Signed-off-by: Gaosheng Cui <cuigaosheng1 at huawei.com>
>
> [...]
Here is the summary with links:
- [net] net: stmmac: fix possible memory leak in stmmac_dvr_probe()
https://git.kernel.org/netdev/net/c/a137f3f27f92
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-arm-kernel
mailing list