mirror_ubuntu-kernels/drivers/net/ethernet/qlogic/netxen
Jakub Kicinski 88e102e877 ethernet: netxen: 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.

Invert 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>
2021-10-19 12:41:47 +01:00
..
Makefile treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 15 2019-05-21 11:28:46 +02:00
netxen_nic_ctx.c netxen_nic: switch from 'pci_' to 'dma_' API 2021-01-15 16:41:29 -08:00
netxen_nic_ethtool.c ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
netxen_nic_hdr.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 15 2019-05-21 11:28:46 +02:00
netxen_nic_hw.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 15 2019-05-21 11:28:46 +02:00
netxen_nic_hw.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 15 2019-05-21 11:28:46 +02:00
netxen_nic_init.c netxen_nic: Fix fall-through warnings for Clang 2021-05-17 19:08:30 -05:00
netxen_nic_main.c ethernet: netxen: use eth_hw_addr_set() 2021-10-19 12:41:47 +01:00
netxen_nic.h netxen_nic: Remove the repeated declaration 2021-08-25 11:04:53 +01:00