OpenCloudOS-Kernel/drivers/net/ethernet/tehuti
Jakub Kicinski 3d9c64ca52 ethernet: tehuti: 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.

Break the address up 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
tehuti.c ethernet: tehuti: use eth_hw_addr_set() 2021-10-20 11:41:01 +01:00
tehuti.h tehuti: Replace zero-length array with flexible-array member 2020-03-02 11:16:28 -08:00