Skip to content

net: constify netdev->dev_addr

Jakub Kicinski netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 1 replyApplied 7/7
  2. v14 patches 1 replyApplied 4/4

Patches in v2 All 7 applied

#Subject and filesSizeRepliesApplied
1/782596: use eth_hw_addr_set()drivers/net/ethernet/i825xx/82596.c+2 -10 repliesApplied
2/7bnx2x: constify static inline stub for dev_addrdrivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h+1 -10 repliesApplied
3/7net: constify netdev->dev_addrinclude/linux/netdevice.h net/core/dev_addr_lists.c+15 -90 repliesApplied
4/7net: unexport dev_addr_init() & dev_addr_flush()net/core/dev_addr_lists.c+0 -20 repliesApplied
5/7dev_addr: add a modification checkinclude/linux/netdevice.h net/core/dev.c net/core/dev_addr_lists.c+25 -00 repliesApplied
6/7dev_addr_list: put the first addr on the treenet/core/dev_addr_lists.c+34 -280 repliesApplied
7/7net: kunit: add a test for dev_addr_listsnet/Kconfig net/core/Makefile net/core/dev_addr_lists_test.c+243 -00 repliesApplied

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid S. Miller
SeriesA-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net-next v2 0/7] net: constify netdev->dev_addr

Take care of a few stragglers and make netdev->dev_addr const.

netdev->dev_addr can be held on the address tree like any other address now.

Jakub Kicinski (7):
82596: use eth_hw_addr_set()
bnx2x: constify static inline stub for dev_addr
net: constify netdev->dev_addr
net: unexport dev_addr_init() & dev_addr_flush()
dev_addr: add a modification check
dev_addr_list: put the first addr on the tree
net: kunit: add a test for dev_addr_lists

 .../net/ethernet/broadcom/bnx2x/bnx2x_sriov.h |   2 +-
 drivers/net/ethernet/i825xx/82596.c           |   3 +-
 include/linux/netdevice.h                     |  19 +-
 net/Kconfig                                   |   5 +
 net/core/Makefile                             |   2 +
 net/core/dev.c                                |   1 +
 net/core/dev_addr_lists.c                     |  93 ++++---
 net/core/dev_addr_lists_test.c                | 236 ++++++++++++++++++
 8 files changed, 320 insertions(+), 41 deletions(-)
 create mode 100644 net/core/dev_addr_lists_test.c
Signature · 1 line
2.31.1