Skip to content

neighbour: Convert RTM_GETNEIGHTBL and RTM_SETNEIGHTBL to RCU.

Kuniyuki Iwashima netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5neighbour: Use RCU list helpers for neigh_parms.list writers.net/core/neighbour.c+2 -21 replyApplied
2/5neighbour: Annotate access to neigh_parms fields.include/net/neighbour.h net/core/neighbour.c net/ipv6/ndisc.c+22 -181 replyApplied
3/5neighbour: Convert RTM_GETNEIGHTBL to RCU.net/core/neighbour.c+9 -141 replyApplied
4/5neighbour: Convert RTM_SETNEIGHTBL to RCU.net/core/neighbour.c+14 -51 replyApplied
5/5neighbour: Convert rwlock of struct neigh_table to spinlock.include/net/neighbour.h net/atm/clip.c net/core/neighbour.c +1 more+40 -383 repliesApplied

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchEric Dumazet
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 net-next 0/5] neighbour: Convert RTM_GETNEIGHTBL and RTM_SETNEIGHTBL to RCU.

Patch 1 & 2 are prep for RCU conversion for RTM_GETNEIGHTBL.

Patch 3 & 4 converts RTM_GETNEIGHTBL and RTM_SETNEIGHTBL to RCU.

Patch 5 converts the neighbour table rwlock to the plain spinlock.

Kuniyuki Iwashima (5):
neighbour: Use RCU list helpers for neigh_parms.list writers.
neighbour: Annotate access to neigh_parms fields.
neighbour: Convert RTM_GETNEIGHTBL to RCU.
neighbour: Convert RTM_SETNEIGHTBL to RCU.
neighbour: Convert rwlock of struct neigh_table to spinlock.

 include/net/neighbour.h |  17 ++++--
 net/atm/clip.c          |   4 +-
 net/core/neighbour.c    | 131 ++++++++++++++++++++--------------------
 net/ipv4/arp.c          |   4 +-
 net/ipv6/ndisc.c        |   8 +--
 5 files changed, 87 insertions(+), 77 deletions(-)
Signature · 1 line
2.51.0.915.g61a8936c21-goog