diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-10-15 15:16:48 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-16 08:53:46 +0100 |
commit | 41edfff572d9ed0a9b8f8d136f2cfa213244746e (patch) | |
tree | 6dec687e68b62c985bcd6889ce40136d1a9c79e0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0c9e0c7931c610b9c2edce0a7a60b8de97e31885 (diff) |
ethernet: enic: 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.
Use a zero'ed array on the stack, then call eth_hw_addr_set().
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions