From: patchwork-bot+netdevbpf@kernel.org
To: George Kennedy <george.kennedy@oracle.com>
Cc: kuba@kernel.org, stephen@networkplumber.org, davem@davemloft.net,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] tun: avoid double free in tun_free_netdev
Date: Sat, 18 Dec 2021 03:30:14 +0000 [thread overview]
Message-ID: <163979821477.17814.7095226046090435782.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <1639679132-19884-1-git-send-email-george.kennedy@oracle.com>
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
prev parent reply other threads:[~2021-12-18 3:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-16 18:25 [PATCH v3] tun: avoid double free in tun_free_netdev George Kennedy
2021-12-18 3:30 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=163979821477.17814.7095226046090435782.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=george.kennedy@oracle.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).