diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-10-13 09:40:49 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-10-13 09:40:49 -0700 |
commit | fe83fe739df7e08a24e961f04fd026f0447f38cb (patch) | |
tree | 7b94b4e0893cc2b5cac3db4eb11e9dedfdcc6e46 /net/ipv4/ipip.c | |
parent | 5f3b8acee9fee04ece54376a4f842847000a97f3 (diff) | |
parent | 1bfcd1cc546eaa9ecafb9718bc877f24b8a349c2 (diff) | |
download | linux-fe83fe739df7e08a24e961f04fd026f0447f38cb.tar.gz linux-fe83fe739df7e08a24e961f04fd026f0447f38cb.tar.bz2 linux-fe83fe739df7e08a24e961f04fd026f0447f38cb.zip |
Merge branch 'net-constify-dev_addr-passing-for-protocols'
Jakub Kicinski says:
====================
net: constify dev_addr passing for protocols
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.
netdev->dev_addr will be made const to prevent direct writes.
This set sprinkles const across variables and arguments in protocol
code which are used to hold references to netdev->dev_addr.
====================
Link: https://lore.kernel.org/r/20211012155840.4151590-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/ipip.c')
0 files changed, 0 insertions, 0 deletions