[PATCH net-next v1 0/4] net: hsr: address functional and concurrency bugs

From: luka . gejak

Date: Tue Mar 24 2026 - 10:40:01 EST


From: Luka Gejak <luka.gejak@xxxxxxxxx>

This series addresses four logic-level bugs in the HSR/PRP
implementation identified during a protocol audit.

The primary change resolves a race condition in the node merging path by
implementing address-based lock ordering. This ensures that concurrent
mutations of sequence blocks do not lead to state corruption or
deadlocks.

Additional fixes include correcting asymmetric VLAN error unwinding,
enforcing strict supervision frame TLV validation, and improving Netlink
error reporting for invalid interlink attributes.

Luka Gejak (4):
net: hsr: serialize seq_blocks merge across nodes
net: hsr: fix VLAN add unwind on slave errors
net: hsr: require valid EOT supervision TLV
net: hsr: reject unresolved interlink ifindex

net/hsr/hsr_device.c | 8 ++++++--
net/hsr/hsr_forward.c | 2 +-
net/hsr/hsr_framereg.c | 38 ++++++++++++++++++++++++++++++++++++--
net/hsr/hsr_netlink.c | 7 ++++++-
4 files changed, 49 insertions(+), 6 deletions(-)

--
2.53.0