summaryrefslogtreecommitdiff
path: root/net/8021q
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-01 14:32:21 -0700
committerDavid S. Miller <davem@davemloft.net>2021-10-02 14:18:25 +0100
commit1681371762335221b02cb9266ac1a8b05c16fdef (patch)
treee50b0b117dcbff1c187291d127fc9d204912ce82 /net/8021q
parenta96d317fb1a30b9f323548eb2ff05d4e4600ead9 (diff)
net: usb: use eth_hw_addr_set()
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 usb drivers from memcpy(... ETH_ADDR) to eth_hw_addr_set(): @@ expression dev, np; @@ - memcpy(dev->dev_addr, np, ETH_ALEN) + 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 'net/8021q')
0 files changed, 0 insertions, 0 deletions