Re: [PATCH net] macvlan: fix passthru promiscuity accounting while down
From: patchwork-bot+netdevbpf
Date: Tue Oct 27 2026 - 19:00:24 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 22 Oct 2026 17:08:09 +0800 you wrote:
> macvlan_changelink() adjusts the lower device's promiscuity count when
> NOPROMISC changes, even if the passthru macvlan is down. The reference
> is acquired in macvlan_open() and released in macvlan_stop(), so a down
> interface has no reference to change.
>
> Clearing NOPROMISC while down leaves an extra reference after the next
> open/stop cycle. Setting it while down can remove a reference held by
> another user of the lower device.
>
> [...]
Here is the summary with links:
- [net] macvlan: fix passthru promiscuity accounting while down
https://git.kernel.org/netdev/net/c/b6743653d134
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html