Thread (19 messages) flat view 19 messages, 4 authors, 2021-10-24

Re: [PATCH 08/15] wireless: cisco: use eth_hw_addr_set()

From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: 2021-10-19 06:24:17

On 2021-10-18 16:50:14 [-0700], Jakub Kicinski wrote:
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 dev_addr_set() to match the existing logic.
setup_card() is always passed netdev->dev_addr, so pass the netdev
pointer instead and assign the address using a helper there.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

Sebastian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help