Re: [PATCH net-next 7/7] ethernet: replace netdev->dev_addr 16bit writes

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

 





On 10/13/2021 1:44 PM, 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.

This patch takes care of drivers which cast netdev->dev_addr to
a 16bit type, often with an explicit byte order.

Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>
---
CC: klassert@xxxxxxxxxx
CC: kda@xxxxxxxxxxxxxxxxx
CC: GR-Linux-NIC-Dev@xxxxxxxxxxx
CC: f.fainelli@xxxxxxxxx
CC: romieu@xxxxxxxxxxxxx
CC: venza@xxxxxxxxxxxx
CC: linux-parisc@xxxxxxxxxxxxxxx
---

  drivers/net/ethernet/rdc/r6040.c             | 12 ++++++------
Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian



[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux