[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163979821477.17814.7095226046090435782.git-patchwork-notify@kernel.org>
Date: Sat, 18 Dec 2021 03:30:14 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: George Kennedy <george.kennedy@...cle.com>
Cc: kuba@...nel.org, stephen@...workplumber.org, davem@...emloft.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] tun: avoid double free in tun_free_netdev
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 16 Dec 2021 13:25:32 -0500 you wrote:
> Avoid double free in tun_free_netdev() by moving the
> dev->tstats and tun->security allocs to a new ndo_init routine
> (tun_net_init()) that will be called by register_netdevice().
> ndo_init is paired with the desctructor (tun_free_netdev()),
> so if there's an error in register_netdevice() the destructor
> will handle the frees.
>
> [...]
Here is the summary with links:
- [v3] tun: avoid double free in tun_free_netdev
https://git.kernel.org/netdev/net/c/158b515f703e
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