diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-10-22 16:20:59 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-24 13:59:44 +0100 |
commit | 6f238100d098508e2162958dfee2769e899301c0 (patch) | |
tree | 0fc2e3a6de4dc4597c8176390a8ed024151dbe4a /net/hsr/hsr_framereg.h | |
parent | 86466cbed1735969606094b87c41412b9c78f222 (diff) |
net: bonding: constify and use dev_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 go through appropriate helpers.
Make sure local references to netdev->dev_addr are constant.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/hsr/hsr_framereg.h')
0 files changed, 0 insertions, 0 deletions