Re: [PATCH net-next v2] net: dsa: motorcomm: Free the MIB block on port teardown
From: patchwork-bot+netdevbpf
Date: Wed Nov 11 2026 - 18:22:19 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 9 Nov 2026 22:46:50 +0800 you wrote:
> .setup() can run again within one registration: removing another switch
> from the tree tears the whole tree down, and re-probing sets every
> member switch up again.
>
> The hardware reset at the start of .setup() brings the MIB counters back
> to zero, but a MIB block kept across that cycle still holds the old
> software buffer, so the next yt921x_mib_read() treats the small value as
> a 32-bit wrap and adds 2^32 to every counter it extends.
>
> [...]
Here is the summary with links:
- [net-next,v2] net: dsa: motorcomm: Free the MIB block on port teardown
https://git.kernel.org/netdev/net-next/c/a9a173f81c83
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html