[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164069400953.26128.4657256476646014759.git-patchwork-notify@kernel.org>
Date: Tue, 28 Dec 2021 12:20:09 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: chris.snook@...il.com, davem@...emloft.net, kuba@...nel.org,
andrew@...n.ch, linux@...pel-privat.de, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] net: ag71xx: Fix a potential double free in error handling
paths
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Sun, 26 Dec 2021 18:51:44 +0100 you wrote:
> 'ndev' is a managed resource allocated with devm_alloc_etherdev(), so there
> is no need to call free_netdev() explicitly or there will be a double
> free().
>
> Simplify all error handling paths accordingly.
>
> Fixes: d51b6ce441d3 ("net: ethernet: add ag71xx driver")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
>
> [...]
Here is the summary with links:
- net: ag71xx: Fix a potential double free in error handling paths
https://git.kernel.org/netdev/net/c/1cd5384c88af
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