diff options
| author | Luka Gejak <luka.gejak@linux.dev> | 2026-04-01 11:22:43 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-02 08:23:49 -0700 |
| commit | 2e3514e63bfb0e972b1f19668547a455d0129e88 (patch) | |
| tree | dda28de72cca746390af06d431e91dd9b2c99239 /tools/perf/scripts/python | |
| parent | f5df2990c364d1ac596d24b3118dbc56503f7cd4 (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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
