All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Wei Yongjun <weiyongjun@huaweicloud.com>
Cc: rafal@milecki.pl, bcm-kernel-feedback-list@broadcom.com,
	davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
	pabeni@redhat.com, f.fainelli@gmail.com, weiyongjun1@huawei.com,
	netdev@vger.kernel.org
Subject: Re: [PATCH net] net: bgmac: Drop free_netdev() from bgmac_enet_remove()
Date: Sat, 12 Nov 2022 05:10:17 +0000	[thread overview]
Message-ID: <166822981729.20406.8789696456884171815.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20221109150136.2991171-1-weiyongjun@huaweicloud.com>

Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Wed,  9 Nov 2022 15:01:36 +0000 you wrote:
> From: Wei Yongjun <weiyongjun1@huawei.com>
> 
> netdev is allocated in bgmac_alloc() with devm_alloc_etherdev() and will
> be auto released in ->remove and ->probe failure path. Using free_netdev()
> in bgmac_enet_remove() leads to double free.
> 
> Fixes: 34a5102c3235 ("net: bgmac: allocate struct bgmac just once & don't copy it")
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>

Here is the summary with links:
  - [net] net: bgmac: Drop free_netdev() from bgmac_enet_remove()
    https://git.kernel.org/netdev/net/c/6f928ab8ee9b

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



      reply	other threads:[~2022-11-12  5:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-09 15:01 [PATCH net] net: bgmac: Drop free_netdev() from bgmac_enet_remove() Wei Yongjun
2022-11-12  5:10 ` 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=166822981729.20406.8789696456884171815.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=f.fainelli@gmail.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=rafal@milecki.pl \
    --cc=weiyongjun1@huawei.com \
    --cc=weiyongjun@huaweicloud.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.