net: thunderbolt: use eth_hw_addr_set()
authorJakub Kicinski <kuba@kernel.org>
Tue, 26 Oct 2021 17:55:47 +0000 (10:55 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Oct 2021 00:13:36 +0000 (17:13 -0700)
commit5a48585d7ec1d0e1e83539d56846c1e513ef66ea
treecb81186e7e2230056f682efcacf73875a9baeeda
parent8b6ce9b0267259c16b26756661d7aea2b8e02828
net: thunderbolt: 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 go through appropriate helpers.

Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Link: https://lore.kernel.org/r/20211026175547.3198242-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/thunderbolt.c