summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-18 07:29:23 -0700
committerDavid S. Miller <davem@davemloft.net>2021-10-19 12:41:47 +0100
commitb814d328692356a1f1cf1e8e1ee6de99bf15f4e5 (patch)
tree58fb8a07d8c5cb788006c8c0330c8d56f27f464f /drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
parent4789b57af37f75024e02954dba23bebe25b7133a (diff)
ethernet: lpc: 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/qlogic/netxen/netxen_nic_main.c')
0 files changed, 0 insertions, 0 deletions