From: Jakub Kicinski Date: Wed, 13 Oct 2021 16:40:49 +0000 (-0700) Subject: Merge branch 'net-constify-dev_addr-passing-for-protocols' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fe83fe739df7e08a24e961f04fd026f0447f38cb;p=linux.git 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 --- fe83fe739df7e08a24e961f04fd026f0447f38cb