summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/enetc/enetc_pf.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-15 15:16:49 -0700
committerDavid S. Miller <davem@davemloft.net>2021-10-16 08:53:46 +0100
commit10e6ded812357ad5ae754bd994521beca091c0b4 (patch)
tree5fe9f08fe59e678067c132db683f67e7dff676a6 /drivers/net/ethernet/freescale/enetc/enetc_pf.c
parent41edfff572d9ed0a9b8f8d136f2cfa213244746e (diff)
ethernet: ec_bhf: 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. Copy 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/freescale/enetc/enetc_pf.c')
0 files changed, 0 insertions, 0 deletions