WSL2-Linux-Kernel/drivers/net/ethernet/sis
Jakub Kicinski 74fad215ee ethernet: sis900: use eth_hw_addr_set()
Commit 406f42fa0d ("net-next: When a bond have a massive amount
of VLANs...") introduced a rbtree for faster Ethernet address look
up. To maintain netdev->dev_addr in this tree we need to make all
the writes to it got through appropriate helpers.

Read the address into an array on the stack, then call
eth_hw_addr_set().

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-10-19 12:41:48 +01:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
sis190.c ethernet: sis190: use eth_hw_addr_set() 2021-10-19 12:41:48 +01:00
sis900.c ethernet: sis900: use eth_hw_addr_set() 2021-10-19 12:41:48 +01:00
sis900.h