Re: [PATCH] dpaa2-eth: put MAC endpoint device on disconnect

From: patchwork-bot+netdevbpf

Date: Tue Jul 21 2026 - 06:48:37 EST


Hello:

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

On Wed, 8 Jul 2026 19:17:37 +0800 you wrote:
> fsl_mc_get_endpoint() returns the MAC endpoint device with a reference
> taken through device_find_child(). The Ethernet connect path stores that
> device in mac->mc_dev and keeps it for the lifetime of the connected MAC
> object.
>
> However, the disconnect path only disconnects and closes the MAC before
> freeing the dpaa2_mac object. It does not drop the endpoint device
> reference stored in mac->mc_dev, so every successful connect leaks that
> device reference when the MAC is later disconnected.
>
> [...]

Here is the summary with links:
- dpaa2-eth: put MAC endpoint device on disconnect
https://git.kernel.org/netdev/net/c/b4b201cc93ff

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