On Thu, 21 Oct 2021 00:30:23 +0200 Julian Wiedmann wrote: > On 20.10.21 17:56, 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. > > > > Make sure local references to netdev->dev_addr are constant. > > > > Acked-by: Julian Wiedmann <jwi@xxxxxxxxxxxxx> > > Thanks Jakub. I suppose at some point __dev_addr_set() will then > become more than just a memcpy, correct? Yup, once all places are converted it will also adjust the position of the address on the tree.