From: Luka Gejak <luka.gejak@linux.dev>
Changes in v3:
- addressed Felix review feedback in the VLAN add unwind fix
- removed the superfluous empty line
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 | 32 +++++++++++++++++---------------
net/hsr/hsr_forward.c | 2 +-
net/hsr/hsr_framereg.c | 38 ++++++++++++++++++++++++++++++++++++--
net/hsr/hsr_netlink.c | 7 ++++++-
4 files changed, 60 insertions(+), 19 deletions(-)
--
2.53.0