Skip to content

ipv4: Convert RTM_{NEW,DEL}ADDR and more to per-netns RTNL.

Kuniyuki Iwashima netdev oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11rtnetlink: Define RTNL_FLAG_DOIT_PERNET for per-netns RTNL doit().include/net/rtnetlink.h+1 -01 reply
2/11ipv4: Factorise RTM_NEWADDR validation to inet_validate_rtm().net/ipv4/devinet.c+44 -351 reply
3/11ipv4: Don't allocate ifa for 0.0.0.0 in inet_rtm_newaddr().net/ipv4/devinet.c+9 -81 reply
4/11ipv4: Convert RTM_NEWADDR to per-netns RTNL.net/ipv4/devinet.c+18 -101 reply
5/11ipv4: Use per-netns RTNL helpers in inet_rtm_newaddr().include/linux/inetdevice.h net/ipv4/devinet.c+13 -42 replies
6/11ipv4: Convert RTM_DELADDR to per-netns RTNL.net/ipv4/devinet.c+15 -91 reply
7/11ipv4: Convert check_lifetime() to per-netns RTNL.net/ipv4/devinet.c+5 -41 reply
8/11rtnetlink: Define rtnl_net_lock().include/linux/rtnetlink.h net/core/rtnetlink.c+17 -01 reply
9/11ipv4: Convert devinet_sysctl_forward() to per-netns RTNL.net/ipv4/devinet.c+3 -31 reply
10/11ipv4: Convert devinet_ioctl() to per-netns RTNL except for SIOCSIFFLAGS.net/ipv4/devinet.c+9 -81 reply
11/11ipv4: Convert devinet_ioctl to per-netns RTNL.net/core/dev_ioctl.c net/ipv4/devinet.c+5 -51 reply

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchEric Dumazet
1/11R-b
2/11R-b
3/11R-b
4/11R-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b
9/11R-b
10/11R-b
11/11R-b

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

Read the v1 thread

Cover letter [PATCH v1 net-next 00/11] ipv4: Convert RTM_{NEW,DEL}ADDR and more to per-netns RTNL.

The IPv4 address hash table and GC are already namespacified.

This series converts RTM_NEWADDR/RTM_DELADDR and some more RTNL users to per-netns RTNL.

Kuniyuki Iwashima (11):
rtnetlink: Define RTNL_FLAG_DOIT_PERNET for per-netns RTNL doit().
ipv4: Factorise RTM_NEWADDR validation to inet_validate_rtm().
ipv4: Don't allocate ifa for 0.0.0.0 in inet_rtm_newaddr().
ipv4: Convert RTM_NEWADDR to per-netns RTNL.
ipv4: Use per-netns RTNL helpers in inet_rtm_newaddr().
ipv4: Convert RTM_DELADDR to per-netns RTNL.
ipv4: Convert check_lifetime() to per-netns RTNL.
rtnetlink: Define rtnl_net_lock().
ipv4: Convert devinet_sysctl_forward() to per-netns RTNL.
ipv4: Convert devinet_ioctl() to per-netns RTNL except for
SIOCSIFFLAGS.
ipv4: Convert devinet_ioctl to per-netns RTNL.

 include/linux/inetdevice.h |   9 ++
 include/linux/rtnetlink.h  |   6 ++
 include/net/rtnetlink.h    |   1 +
 net/core/dev_ioctl.c       |   6 +-
 net/core/rtnetlink.c       |  11 +++
 net/ipv4/devinet.c         | 190 +++++++++++++++++++++----------------
 6 files changed, 138 insertions(+), 85 deletions(-)
Signature · 1 line
2.39.5 (Apple Git-154)