Merge branch 'net-constify-dev_addr-passing-for-protocols'
Jakub Kicinski says: ==================== net: constify dev_addr passing for protocols Commit 406f42fa ("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>
No related branches found
No related tags found
Showing
- include/net/ax25.h 7 additions, 6 deletionsinclude/net/ax25.h
- include/net/datalink.h 1 addition, 1 deletioninclude/net/datalink.h
- include/net/dn.h 1 addition, 1 deletioninclude/net/dn.h
- include/net/llc.h 1 addition, 1 deletioninclude/net/llc.h
- include/net/llc_if.h 2 additions, 1 deletioninclude/net/llc_if.h
- include/net/ndisc.h 1 addition, 1 deletioninclude/net/ndisc.h
- include/net/rose.h 4 additions, 4 deletionsinclude/net/rose.h
- net/802/p8022.c 1 addition, 1 deletionnet/802/p8022.c
- net/802/psnap.c 1 addition, 1 deletionnet/802/psnap.c
- net/ax25/af_ax25.c 1 addition, 1 deletionnet/ax25/af_ax25.c
- net/ax25/ax25_dev.c 1 addition, 1 deletionnet/ax25/ax25_dev.c
- net/ax25/ax25_iface.c 3 additions, 3 deletionsnet/ax25/ax25_iface.c
- net/ax25/ax25_in.c 2 additions, 2 deletionsnet/ax25/ax25_in.c
- net/ax25/ax25_out.c 1 addition, 1 deletionnet/ax25/ax25_out.c
- net/ipv6/addrconf.c 2 additions, 2 deletionsnet/ipv6/addrconf.c
- net/ipv6/ndisc.c 2 additions, 2 deletionsnet/ipv6/ndisc.c
- net/llc/llc_c_ac.c 1 addition, 1 deletionnet/llc/llc_c_ac.c
- net/llc/llc_if.c 1 addition, 1 deletionnet/llc/llc_if.c
- net/llc/llc_output.c 1 addition, 1 deletionnet/llc/llc_output.c
- net/llc/llc_proc.c 1 addition, 1 deletionnet/llc/llc_proc.c
Loading
Please register or sign in to comment