staging: use eth_hw_addr_set() in orphan drivers
authorJakub Kicinski <kuba@kernel.org>
Tue, 19 Oct 2021 17:12:43 +0000 (10:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Oct 2021 17:33:59 +0000 (19:33 +0200)
commit524b09ea34a44fc501edb82bb04cb52f464e96a1
treefaa20379c05b23703e9934155756f6515f9d9c84
parente7c636f2bb50367581bec53782fb15ebf8648936
staging: use eth_hw_addr_set() in orphan drivers

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.

Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20211019171243.1412240-9-kuba@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm724x/gdm_lte.c
drivers/staging/octeon/ethernet.c
drivers/staging/wlan-ng/prism2sta.c