aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2021-10-19 09:28:15 -0700
committerJohannes Berg <[email protected]>2021-10-21 16:46:49 +0200
commitde1352ead8a8cb4367a19ac23d9deaaa23befc3e (patch)
tree45bdd0b657eac3707e64053c0a5b8c9639fa2802 /scripts/gdb/linux/lists.py
parente76219e675ebebebdb054bb57b0c6236c27755fe (diff)
mac80211: 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 mac80211 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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions