diff options
| author | 2026-04-01 11:22:43 +0200 | |
|---|---|---|
| committer | 2026-04-02 08:23:49 -0700 | |
| commit | 2e3514e63bfb0e972b1f19668547a455d0129e88 (patch) | |
| tree | dda28de72cca746390af06d431e91dd9b2c99239 /samples/kobject/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com | |
| parent | net: hsr: serialize seq_blocks merge across nodes (diff) | |
net: hsr: fix VLAN add unwind on slave errors
When vlan_vid_add() fails for a secondary slave, the error path calls
vlan_vid_del() on the failing port instead of the peer slave that had
already succeeded. This results in asymmetric VLAN state across the HSR
pair.
Fix this by switching to a centralized unwind path that removes the VID
from any slave device that was already programmed.
Fixes: 1a8a63a5305e ("net: hsr: Add VLAN CTAG filter support")
Signed-off-by: Luka Gejak <luka.gejak@linux.dev>
Link: https://patch.msgid.link/20260401092243.52121-3-luka.gejak@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com/git:/git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
