linux-stable/drivers/net/ethernet/via
Jakub Kicinski 0b271c48d9 ethernet: via-velocity: 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-20 11:41:01 +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
via-rhine.c ethernet: via-rhine: use eth_hw_addr_set() 2021-10-20 11:41:01 +01:00
via-velocity.c ethernet: via-velocity: use eth_hw_addr_set() 2021-10-20 11:41:01 +01:00
via-velocity.h via-velocity: Use more typical logging styles 2020-08-04 12:54:49 -07:00