Re: [PATCH net v2] net: ethtool: Don't call .cleanup_data when prepare_data fails

From: patchwork-bot+netdevbpf
Date: Tue Apr 08 2025 - 10:13:35 EST


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Mon, 7 Apr 2025 15:05:10 +0200 you wrote:
> There's a consistent pattern where the .cleanup_data() callback is
> called when .prepare_data() fails, when it should really be called to
> clean after a successful .prepare_data() as per the documentation.
>
> Rewrite the error-handling paths to make sure we don't cleanup
> un-prepared data.
>
> [...]

Here is the summary with links:
- [net,v2] net: ethtool: Don't call .cleanup_data when prepare_data fails
https://git.kernel.org/netdev/net/c/4f038a6a02d2

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