Skip to content

neighbour: Convert RTM_GETNEIGH and RTM_{GET,SET}NEIGHTBL to RCU.

Kuniyuki Iwashima netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 6 repliesIn review
  2. v17 patches 2 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7neighbour: Make neigh_valid_get_req() return ndmsg.net/core/neighbour.c+27 -240 replies
2/7neighbour: Move two validations from neigh_get() to neigh_valid_get_req().net/core/neighbour.c+15 -130 replies
3/7neighbour: Allocate skb in neigh_get().net/core/neighbour.c+32 -562 replies
4/7neighbour: Move neigh_find_table() to neigh_get().net/core/neighbour.c+20 -190 replies
5/7neighbour: Convert RTM_GETNEIGH to RCU.net/core/neighbour.c+7 -22 replies
6/7neighbour: Convert RTM_GETNEIGHTBL to RCU.net/core/neighbour.c+7 -22 replies
7/7neighbour: Convert RTM_SETNEIGHTBL to RCU.net/core/neighbour.c+11 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 net-next 0/7] neighbour: Convert RTM_GETNEIGH and RTM_{GET,SET}NEIGHTBL to RCU.

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/[email protected]/

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(-)
Signature · 1 line
2.49.0