lkml.org 
[lkml]   [2021]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3] tun: avoid double free in tun_free_netdev
From
Date
Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.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


\
 
 \ /
  Last update: 2021-12-18 04:31    [W:0.181 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site