[PATCH net-next v2 0/4] net: hsr: address functional and concurrency bugs
From: <hidden>
Date: 2026-03-26 15:47:53
Also in:
lkml
From: Luka Gejak <redacted> Changes in v2: - picked up Reviewed-by tags on patches 1, 3 and 4 - changes in patch 2 per advice of Felix Maurer This series addresses four logic 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 | 46 +++++++++++++++++++++++++----------------- net/hsr/hsr_forward.c | 2 +- net/hsr/hsr_framereg.c | 38 ++++++++++++++++++++++++++++++++-- net/hsr/hsr_netlink.c | 7 ++++++- 4 files changed, 70 insertions(+), 23 deletions(-) -- 2.53.0