Re: [PATCH net-next 09/12] net: s390: constify and use eth_hw_addr_set()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux