linux/drivers/net/ethernet/realtek
Jakub Kicinski 1c5d09d587 ethernet: r8169: 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:47 +01:00
..
8139cp.c ethernet: replace netdev->dev_addr 16bit writes 2021-10-14 09:22:27 -07:00
8139too.c ethernet: replace netdev->dev_addr 16bit writes 2021-10-14 09:22:27 -07:00
atp.c ethernet: replace netdev->dev_addr 16bit writes 2021-10-14 09:22:27 -07:00
atp.h
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile r8169: factor out PHY configuration to r8169_phy_config.c 2020-01-10 16:41:35 -08:00
r8169_firmware.c treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
r8169_firmware.h r8169: factor out firmware handling 2019-06-05 11:41:59 -07:00
r8169_main.c ethernet: r8169: use eth_hw_addr_set() 2021-10-19 12:41:47 +01:00
r8169_phy_config.c r8169: remove support for chip version RTL_GIGA_MAC_VER_27 2021-09-14 14:13:58 +01:00
r8169.h r8169: remove support for chip version RTL_GIGA_MAC_VER_27 2021-09-14 14:13:58 +01:00