WSL2-Linux-Kernel/drivers/net/ethernet/socionext
Jakub Kicinski 414c6a3c84 ethernet: netsec: 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>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.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
netsec.c ethernet: netsec: use eth_hw_addr_set() 2021-10-20 11:41:01 +01:00
sni_ave.c net: ethernet: ave: Add compatible string and SoC-dependent data for NX1 SoC 2021-10-18 13:10:08 +01:00