summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/rocker/rocker_main.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-18 07:29:26 -0700
committerDavid S. Miller <davem@davemloft.net>2021-10-19 12:41:47 +0100
commit0b08956cd532786b7442338d700e6950e00b4a92 (patch)
treebdc4881468c2e5a2ab61b85fc6b7542a52a96487 /drivers/net/ethernet/rocker/rocker_main.c
parent1c5d09d58748b74d8d03a9beadf691f8d9ec8622 (diff)
ethernet: renesas: 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. 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>
Diffstat (limited to 'drivers/net/ethernet/rocker/rocker_main.c')
0 files changed, 0 insertions, 0 deletions