diff options
author | 2021-10-15 15:16:50 -0700 | |
---|---|---|
committer | 2021-10-16 08:53:46 +0100 | |
commit | d9ca87233b688c2b6341fa5ee412711c2986d1da (patch) | |
tree | c3912380e59cf0c8715943c9038112e11ab3e0c3 /tools/perf/scripts/python/stackcollapse.py | |
parent | ethernet: ec_bhf: use eth_hw_addr_set() (diff) | |
download | wireguard-linux-d9ca87233b688c2b6341fa5ee412711c2986d1da.tar.xz wireguard-linux-d9ca87233b688c2b6341fa5ee412711c2986d1da.zip |
ethernet: enetc: 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.
Pass a netdev into the helper instead of just the address,
read the address into an 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions