aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-01 14:32:24 -0700
committerDavid S. Miller <davem@davemloft.net>2021-10-02 14:18:25 +0100
commitaf804e6db9f60b923ff5149d9bf782e0baa82a2b (patch)
tree58bab315b469caf8fb601c45cd6b5d9603af8419 /Documentation
parentethernet: use eth_hw_addr_set() instead of ether_addr_copy() (diff)
downloadlinux-dev-af804e6db9f60b923ff5149d9bf782e0baa82a2b.tar.xz
linux-dev-af804e6db9f60b923ff5149d9bf782e0baa82a2b.zip
net: usb: use eth_hw_addr_set() instead of ether_addr_copy()
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. Convert net/usb from ether_addr_copy() to eth_hw_addr_set(): @@ expression dev, np; @@ - ether_addr_copy(dev->dev_addr, np) + eth_hw_addr_set(dev, np) Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions