Jakub Kicinski a85c8f9ad2 ethernet: bnx2x: 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>
2021-10-16 08:53:46 +01:00
..
2019-11-05 18:25:14 -08:00
2019-11-05 18:25:14 -08:00
2021-10-02 14:18:25 +01:00
2020-07-04 17:51:07 -07:00