netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 net-next 0/5] ip: Random cleanup for devinet.c
@ 2024-08-09 23:54 Kuniyuki Iwashima
  2024-08-09 23:54 ` [PATCH v1 net-next 1/5] ipv4: Check !in_dev earlier for ioctl(SIOCSIFADDR) Kuniyuki Iwashima
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Kuniyuki Iwashima @ 2024-08-09 23:54 UTC (permalink / raw)
  To: David S. Miller, David Ahern, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni
  Cc: Kuniyuki Iwashima, Kuniyuki Iwashima, netdev

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(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-08-16  2:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-09 23:54 [PATCH v1 net-next 0/5] ip: Random cleanup for devinet.c Kuniyuki Iwashima
2024-08-09 23:54 ` [PATCH v1 net-next 1/5] ipv4: Check !in_dev earlier for ioctl(SIOCSIFADDR) Kuniyuki Iwashima
2024-08-09 23:54 ` [PATCH v1 net-next 2/5] ipv4: Set ifa->ifa_dev in inet_alloc_ifa() Kuniyuki Iwashima
2024-08-09 23:54 ` [PATCH v1 net-next 3/5] ipv4: Remove redundant !ifa->ifa_dev check Kuniyuki Iwashima
2024-08-09 23:54 ` [PATCH v1 net-next 4/5] ipv4: Initialise ifa->hash in inet_alloc_ifa() Kuniyuki Iwashima
2024-08-09 23:54 ` [PATCH v1 net-next 5/5] ip: Move INFINITY_LIFE_TIME to addrconf.h Kuniyuki Iwashima
2024-08-16  2:10 ` [PATCH v1 net-next 0/5] ip: Random cleanup for devinet.c patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).