diff options
| author | 2021-10-18 16:50:08 -0700 | |
|---|---|---|
| committer | 2021-10-20 12:39:42 +0300 | |
| commit | fcb79f31d9068692f696e92c7fda199b37f5ee96 (patch) | |
| tree | 418170cf180c2906d86f39d10ada6321a82d6e0d /tools/perf/scripts/python | |
| parent | wireless: use eth_hw_addr_set() (diff) | |
| download | linux-dev-fcb79f31d9068692f696e92c7fda199b37f5ee96.tar.xz linux-dev-fcb79f31d9068692f696e92c7fda199b37f5ee96.zip | |
wireless: 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 wireless 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: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211018235021.1279697-3-kuba@kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
