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

luka.gejak@linux.dev posted 4 patches 1 week, 2 days ago
There is a newer version of this series
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(-)
[PATCH net-next v1 0/4] net: hsr: address functional and concurrency bugs
Posted by luka.gejak@linux.dev 1 week, 2 days ago
From: Luka Gejak <luka.gejak@linux.dev>

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