Searched hist:"698 c33d8b48999bdec6671d664dbd926bb27e474" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_nic.c | diff 698c33d8b48999bdec6671d664dbd926bb27e474 Fri Oct 15 17:16:45 CDT 2021 Jakub Kicinski <kuba@kernel.org> 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>
|