From: patchwork-bot+netdevbpf@kernel.org
To: Tong Zhang <ztong0001@gmail.com>
Cc: m.grzeschik@pengutronix.de, davem@davemloft.net, kuba@kernel.org,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net: arcnet: com20020 fix error handling
Date: Sun, 14 Mar 2021 21:30:07 +0000 [thread overview]
Message-ID: <161575740791.7685.11693179201709073385.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20210314180836.3105727-1-ztong0001@gmail.com>
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Sun, 14 Mar 2021 14:08:36 -0400 you wrote:
> There are two issues when handling error case in com20020pci_probe()
>
> 1. priv might be not initialized yet when calling com20020pci_remove()
> from com20020pci_probe(), since the priv is set at the very last but it
> can jump to error handling in the middle and priv remains NULL.
> 2. memory leak - the net device is allocated in alloc_arcdev but not
> properly released if error happens in the middle of the big for loop
>
> [...]
Here is the summary with links:
- net: arcnet: com20020 fix error handling
https://git.kernel.org/netdev/net/c/6577b9a551ae
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-03-14 21:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-14 18:08 [PATCH] net: arcnet: com20020 fix error handling Tong Zhang
2021-03-14 21: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=161575740791.7685.11693179201709073385.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m.grzeschik@pengutronix.de \
--cc=netdev@vger.kernel.org \
--cc=ztong0001@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox