]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: hsr: sync hw addr of slave2 according to slave1 hw addr on PRP
authorFernando Fernandez Mancera <ffmancera@riseup.net>
Wed, 9 Apr 2025 10:19:11 +0000 (12:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Apr 2025 11:40:06 +0000 (12:40 +0100)
commitb65999e7238e6f2a48dc77c8c2109c48318ff41b
tree105a9d2421f612460ba650560b107e276b2c52cf
parent6a325aed130bb68790e765f923e76ec5669d2da7
net: hsr: sync hw addr of slave2 according to slave1 hw addr on PRP

In order to work properly PRP requires slave1 and slave2 to share the
same MAC address. To ease the configuration process on userspace tools,
sync the slave2 MAC address with slave1. In addition, when deleting the
port from the list, restore the original MAC address.

Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/hsr/hsr_device.c
net/hsr/hsr_main.c
net/hsr/hsr_main.h
net/hsr/hsr_slave.c