linux/drivers/net/ethernet/intel/ixgb
Jakub Kicinski ec356edef7 ethernet: ixgb: 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.

Read the address into an array on the stack, then call
eth_hw_addr_set(). ixgb_get_ee_mac_addr() is used with
a non-nevdev->dev_addr pointer so we can't deal with the problem
inside it.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-10-16 08:53:46 +01:00
..
ixgb_ee.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
ixgb_ee.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
ixgb_ethtool.c net/intel: remove driver versions from Intel drivers 2020-06-25 22:25:13 -07:00
ixgb_hw.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
ixgb_hw.h ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
ixgb_ids.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
ixgb_main.c ethernet: ixgb: use eth_hw_addr_set() 2021-10-16 08:53:46 +01:00
ixgb_osdep.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
ixgb_param.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
ixgb.h net/intel: remove driver versions from Intel drivers 2020-06-25 22:25:13 -07:00
Makefile net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00