diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-10-18 16:29:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-19 13:41:47 +0200 |
commit | 298b0e0c5fec65081e308a4aa2f16ec8a91070e1 (patch) | |
tree | 7477b18f347428bd00258cde051aebd06c462abd /drivers/net/ethernet/samsung | |
parent | ethernet: renesas: use eth_hw_addr_set() (diff) | |
download | linux-298b0e0c5fec65081e308a4aa2f16ec8a91070e1.tar.xz linux-298b0e0c5fec65081e308a4aa2f16ec8a91070e1.zip |
ethernet: rocker: use eth_hw_addr_set()
Commit 406f42fa0d3c ("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>
Diffstat (limited to 'drivers/net/ethernet/samsung')
0 files changed, 0 insertions, 0 deletions