mbox series

[v1,net-next,0/5] ip: Random cleanup for devinet.c

Message ID 20240809235406.50187-1-kuniyu@amazon.com (mailing list archive)
Headers show
Series ip: Random cleanup for devinet.c | expand

Message

Kuniyuki Iwashima Aug. 9, 2024, 11:54 p.m. UTC
patch 1 ~ 3 remove defensive !ifa->ifa_dev tests.
patch 4 & 5 deduplicate common code.


Kuniyuki Iwashima (5):
  ipv4: Check !in_dev earlier for ioctl(SIOCSIFADDR).
  ipv4: Set ifa->ifa_dev in inet_alloc_ifa().
  ipv4: Remove redundant !ifa->ifa_dev check.
  ipv4: Initialise ifa->hash in inet_alloc_ifa().
  ip: Move INFINITY_LIFE_TIME to addrconf.h.

 .../ethernet/qlogic/netxen/netxen_nic_main.c  |  5 +-
 .../net/ethernet/qlogic/qlcnic/qlcnic_main.c  |  2 +-
 include/net/addrconf.h                        |  4 +-
 net/ipv4/devinet.c                            | 47 +++++++++----------
 net/ipv6/addrconf.c                           |  2 -
 5 files changed, 27 insertions(+), 33 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 16, 2024, 2:10 a.m. UTC | #1
Hello:

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

On Fri, 9 Aug 2024 16:54:01 -0700 you wrote:
> patch 1 ~ 3 remove defensive !ifa->ifa_dev tests.
> patch 4 & 5 deduplicate common code.
> 
> 
> Kuniyuki Iwashima (5):
>   ipv4: Check !in_dev earlier for ioctl(SIOCSIFADDR).
>   ipv4: Set ifa->ifa_dev in inet_alloc_ifa().
>   ipv4: Remove redundant !ifa->ifa_dev check.
>   ipv4: Initialise ifa->hash in inet_alloc_ifa().
>   ip: Move INFINITY_LIFE_TIME to addrconf.h.
> 
> [...]

Here is the summary with links:
  - [v1,net-next,1/5] ipv4: Check !in_dev earlier for ioctl(SIOCSIFADDR).
    https://git.kernel.org/netdev/net-next/c/e3af3d3c5b26
  - [v1,net-next,2/5] ipv4: Set ifa->ifa_dev in inet_alloc_ifa().
    https://git.kernel.org/netdev/net-next/c/6e701eb91412
  - [v1,net-next,3/5] ipv4: Remove redundant !ifa->ifa_dev check.
    https://git.kernel.org/netdev/net-next/c/ecdae5168460
  - [v1,net-next,4/5] ipv4: Initialise ifa->hash in inet_alloc_ifa().
    https://git.kernel.org/netdev/net-next/c/100465a91a90
  - [v1,net-next,5/5] ip: Move INFINITY_LIFE_TIME to addrconf.h.
    https://git.kernel.org/netdev/net-next/c/de67763cbdbb

You are awesome, thank you!