Jakub Kicinski 698c33d8b4 ethernet: aquantia: 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.

Use an array on the stack, then call eth_hw_addr_set().
eth_hw_addr_set() is after error checking, this should
be fine, error propagates all the way to failing probe.

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
..
2020-06-22 21:10:22 -07:00
2021-07-27 20:11:45 +01:00
2020-07-20 18:07:38 -07:00
2020-07-20 18:07:38 -07:00
2020-11-24 10:59:17 -08:00