Skip to content

ipv4: preliminary work for per-netns RTNL

Eric Dumazet netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review 3 of 4 applied

Patches in v1 3 of 4 applied

#Subject and filesSizeRepliesApplied
1/4ipv4: remove fib_devindex_hashfn()net/ipv4/fib_semantics.c+4 -91 replyApplied
2/4ipv4: use rcu in ip_fib_check_default()net/ipv4/fib_semantics.c+4 -91 replyApplied
3/4ipv4: remove fib_info_locknet/ipv4/fib_semantics.c+6 -121 replyApplied
4/4ipv4: remove fib_info_devhash[]Documentation/networking/net_cachelines/net_device.rst include/linux/netdevice.h net/ipv4/fib_semantics.c+18 -203 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid AhernKuniyuki Iwashima
SeriesR-b
1/4R-b
2/4R-b
3/4R-b
4/4R-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 net-next 0/4] ipv4: preliminary work for per-netns RTNL

Inspired by 9b8ca04854fd ("ipv4: avoid quadratic behavior in FIB insertion of common address") and per-netns RTNL conversion started by Kuniyuki this week.

ip_fib_check_default() can use RCU instead of a shared spinlock.

fib_info_lock can be removed, RTNL is already used.

fib_info_devhash[] can be removed in favor of a single pointer in net_device.

Eric Dumazet (4):
ipv4: remove fib_devindex_hashfn()
ipv4: use rcu in ip_fib_check_default()
ipv4: remove fib_info_lock
ipv4: remove fib_info_devhash[]

 .../networking/net_cachelines/net_device.rst  |  1 +
 include/linux/netdevice.h                     |  2 +
 net/ipv4/fib_semantics.c                      | 77 +++++++------------
 3 files changed, 31 insertions(+), 49 deletions(-)
Signature · 1 line
2.47.0.rc0.187.ge670bccf7e-goog