netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/7] neighbour: Convert RTM_GETNEIGH and RTM_{GET,SET}NEIGHTBL to RCU.
@ 2025-04-18  1:26 Kuniyuki Iwashima
  2025-04-18  1:26 ` [PATCH v2 net-next 1/7] neighbour: Make neigh_valid_get_req() return ndmsg Kuniyuki Iwashima
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Kuniyuki Iwashima @ 2025-04-18  1:26 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: Simon Horman, Kuniyuki Iwashima, Kuniyuki Iwashima, netdev

Patch 1 - 4 moves validations and skb allocation in neigh_get()
as prep for patch 5, which converts RTM_GETNEIGH to RCU.

Patch 6 & 7 converts RTM_GETNEIGHTBL and RTM_SETNEIGHTBL to RCU,
which requires almost nothing.


Changes:
  v2:
    * Patch 1 & 2 : Fix ERR_PTR(0) paths

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


Kuniyuki Iwashima (7):
  neighbour: Make neigh_valid_get_req() return ndmsg.
  neighbour: Move two validations from neigh_get() to
    neigh_valid_get_req().
  neighbour: Allocate skb in neigh_get().
  neighbour: Move neigh_find_table() to neigh_get().
  neighbour: Convert RTM_GETNEIGH to RCU.
  neighbour: Convert RTM_GETNEIGHTBL to RCU.
  neighbour: Convert RTM_SETNEIGHTBL to RCU.

 net/core/neighbour.c | 211 +++++++++++++++++++++----------------------
 1 file changed, 105 insertions(+), 106 deletions(-)

-- 
2.49.0


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

end of thread, other threads:[~2025-04-24 23:18 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-18  1:26 [PATCH v2 net-next 0/7] neighbour: Convert RTM_GETNEIGH and RTM_{GET,SET}NEIGHTBL to RCU Kuniyuki Iwashima
2025-04-18  1:26 ` [PATCH v2 net-next 1/7] neighbour: Make neigh_valid_get_req() return ndmsg Kuniyuki Iwashima
2025-04-18  1:26 ` [PATCH v2 net-next 2/7] neighbour: Move two validations from neigh_get() to neigh_valid_get_req() Kuniyuki Iwashima
2025-04-18  1:26 ` [PATCH v2 net-next 3/7] neighbour: Allocate skb in neigh_get() Kuniyuki Iwashima
2025-04-24  8:29   ` Paolo Abeni
2025-04-24 23:10     ` Kuniyuki Iwashima
2025-04-18  1:26 ` [PATCH v2 net-next 4/7] neighbour: Move neigh_find_table() to neigh_get() Kuniyuki Iwashima
2025-04-18  1:26 ` [PATCH v2 net-next 5/7] neighbour: Convert RTM_GETNEIGH to RCU Kuniyuki Iwashima
2025-04-24  8:31   ` Paolo Abeni
2025-04-24 23:17     ` Kuniyuki Iwashima
2025-04-18  1:26 ` [PATCH v2 net-next 6/7] neighbour: Convert RTM_GETNEIGHTBL " Kuniyuki Iwashima
2025-04-24  8:19   ` Paolo Abeni
2025-04-24 23:03     ` Kuniyuki Iwashima
2025-04-18  1:26 ` [PATCH v2 net-next 7/7] neighbour: Convert RTM_SETNEIGHTBL " Kuniyuki Iwashima

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