[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165736621241.28880.10154380034505524860.git-patchwork-notify@kernel.org>
Date: Sat, 09 Jul 2022 11:30:12 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Eric Dumazet <edumazet@...gle.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, eric.dumazet@...il.com,
syzkaller@...glegroups.com, lucien.xin@...il.com
Subject: Re: [PATCH net] vlan: fix memory leak in vlan_newlink()
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Fri, 8 Jul 2022 15:11:53 +0000 you wrote:
> Blamed commit added back a bug I fixed in commit 9bbd917e0bec
> ("vlan: fix memory leak in vlan_dev_set_egress_priority")
>
> If a memory allocation fails in vlan_changelink() after other allocations
> succeeded, we need to call vlan_dev_free_egress_priority()
> to free all allocated memory because after a failed ->newlink()
> we do not call any methods like ndo_uninit() or dev->priv_destructor().
>
> [...]
Here is the summary with links:
- [net] vlan: fix memory leak in vlan_newlink()
https://git.kernel.org/netdev/net/c/72a0b329114b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists