mbox series

[v2,net-next,00/11] ipv6: Convert RTM_{NEW,DEL}ADDR and more to per-netns RTNL.

Message ID 20250115080608.28127-1-kuniyu@amazon.com (mailing list archive)
Headers show
Series ipv6: Convert RTM_{NEW,DEL}ADDR and more to per-netns RTNL. | expand

Message

Kuniyuki Iwashima Jan. 15, 2025, 8:05 a.m. UTC
This series converts RTM_NEWADDR/RTM_DELADDR and some more
RTNL users in addrconf.c to per-netns RTNL.


Changes:
  v2:
    * Reorder patch 7 and 8
    * Move ifa_flags setup before IFA_CACHEINFO in patch 8

  v1: https://lore.kernel.org/netdev/20250114080516.46155-1-kuniyu@amazon.com/


Kuniyuki Iwashima (11):
  ipv6: Add __in6_dev_get_rtnl_net().
  ipv6: Convert net.ipv6.conf.${DEV}.XXX sysctl to per-netns RTNL.
  ipv6: Hold rtnl_net_lock() in addrconf_verify_work().
  ipv6: Hold rtnl_net_lock() in addrconf_dad_work().
  ipv6: Hold rtnl_net_lock() in addrconf_init() and addrconf_cleanup().
  ipv6: Convert inet6_ioctl() to per-netns RTNL.
  ipv6: Pass dev to inet6_addr_add().
  ipv6: Set cfg.ifa_flags before device lookup in inet6_rtm_newaddr().
  ipv6: Move lifetime validation to inet6_rtm_newaddr().
  ipv6: Convert inet6_rtm_newaddr() to per-netns RTNL.
  ipv6: Convert inet6_rtm_deladdr() to per-netns RTNL.

 include/net/addrconf.h |   5 +
 net/ipv6/addrconf.c    | 253 ++++++++++++++++++++---------------------
 2 files changed, 128 insertions(+), 130 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 20, 2025, 10:40 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 15 Jan 2025 17:05:57 +0900 you wrote:
> This series converts RTM_NEWADDR/RTM_DELADDR and some more
> RTNL users in addrconf.c to per-netns RTNL.
> 
> 
> Changes:
>   v2:
>     * Reorder patch 7 and 8
>     * Move ifa_flags setup before IFA_CACHEINFO in patch 8
> 
> [...]

Here is the summary with links:
  - [v2,net-next,01/11] ipv6: Add __in6_dev_get_rtnl_net().
    https://git.kernel.org/netdev/net-next/c/f7a6082b5e4c
  - [v2,net-next,02/11] ipv6: Convert net.ipv6.conf.${DEV}.XXX sysctl to per-netns RTNL.
    https://git.kernel.org/netdev/net-next/c/93c839e3edbe
  - [v2,net-next,03/11] ipv6: Hold rtnl_net_lock() in addrconf_verify_work().
    https://git.kernel.org/netdev/net-next/c/6550ba0863f9
  - [v2,net-next,04/11] ipv6: Hold rtnl_net_lock() in addrconf_dad_work().
    https://git.kernel.org/netdev/net-next/c/02cdd78b4e8d
  - [v2,net-next,05/11] ipv6: Hold rtnl_net_lock() in addrconf_init() and addrconf_cleanup().
    https://git.kernel.org/netdev/net-next/c/cdc5c1196ee9
  - [v2,net-next,06/11] ipv6: Convert inet6_ioctl() to per-netns RTNL.
    https://git.kernel.org/netdev/net-next/c/832128cc4438
  - [v2,net-next,07/11] ipv6: Pass dev to inet6_addr_add().
    https://git.kernel.org/netdev/net-next/c/f7fce98a73df
  - [v2,net-next,08/11] ipv6: Set cfg.ifa_flags before device lookup in inet6_rtm_newaddr().
    https://git.kernel.org/netdev/net-next/c/2f1ace4127fd
  - [v2,net-next,09/11] ipv6: Move lifetime validation to inet6_rtm_newaddr().
    https://git.kernel.org/netdev/net-next/c/867b385251ea
  - [v2,net-next,10/11] ipv6: Convert inet6_rtm_newaddr() to per-netns RTNL.
    https://git.kernel.org/netdev/net-next/c/82a1e6aa8f6c
  - [v2,net-next,11/11] ipv6: Convert inet6_rtm_deladdr() to per-netns RTNL.
    https://git.kernel.org/netdev/net-next/c/7bcf45ddb8bb

You are awesome, thank you!