Thread (4 messages) 4 messages, 4 authors, 1d ago

Re: [PATCH v2 net] net: hsr: fix memory leak on slave unregistration by removing synced VLANs

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-07-22 18:10:45

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Tue, 21 Jul 2026 10:12:40 +0000 you wrote:
When an HSR master device is brought UP, it auto-adds VLAN 0 via
vlan_vid0_add(), which propagates VID 0 to its slave devices (slave A and B).

If a slave device is later unregistered while HSR is active (e.g., during
netns cleanup or interface destruction), hsr_del_port() is called to
detach the slave port from the HSR master. However, hsr_del_port() currently
does not delete the VLAN IDs that were synced to the slave device by HSR.

[...]
Here is the summary with links:
  - [v2,net] net: hsr: fix memory leak on slave unregistration by removing synced VLANs
    https://git.kernel.org/netdev/net/c/dcf15eaf5641

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help