Skip to content

ipv6: Follow up for RTNL-free RTM_NEWROUTE series.

Kuniyuki Iwashima netdev 2 versions – 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 · linked by author and title

  1. v2 Latest7 patches 1 replyApplied 7/7
  2. v17 patches 5 repliesSuperseded

Changes in v2 from the cover letter

* Patch 3
* Call rt6_multipath_rebalance() under RCU

Patches in v2 All 7 applied

#Subject and filesSizeRepliesApplied
1/7ipv6: Remove rcu_read_lock() in fib6_get_table().net/ipv6/ip6_fib.c+10 -120 repliesApplied
2/7inet: Remove rtnl_is_held arg of lwtunnel_valid_encap_type(_attr)?().include/net/lwtunnel.h net/core/lwtunnel.c net/ipv4/fib_frontend.c +2 more+13 -280 repliesApplied
3/7ipv6: Narrow down RCU critical section in inet6_rtm_newroute().net/ipv6/ip6_fib.c net/ipv6/route.c+25 -150 repliesApplied
4/7Revert "ipv6: sr: switch to GFP_ATOMIC flag to allocate memory during seg6local LWT setup"net/ipv6/seg6_local.c+3 -31 replyApplied
5/7Revert "ipv6: Factorise ip6_route_multipath_add()."net/ipv6/route.c+70 -1230 repliesApplied
6/7ipv6: Pass gfp_flags down to ip6_route_info_create_nh().net/ipv6/route.c+5 -40 repliesApplied
7/7ipv6: Revert two per-cpu var allocation for RTM_NEWROUTE.net/ipv4/fib_semantics.c net/ipv6/route.c+7 -370 repliesApplied

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchAndrea Mayer
1/7
2/7
3/7
4/7R-b
5/7
6/7
7/7

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

Read the v2 thread

Cover letter [PATCH v2 net-next 0/7] ipv6: Follow up for RTNL-free RTM_NEWROUTE series.

Patch 1 removes rcu_read_lock() in fib6_get_table().
Patch 2 removes rtnl_is_held arg for lwtunnel_valid_encap_type(), which
was short-term fix and is no longer used.
Patch 3 fixes RCU vs GFP_KERNEL report by syzkaller.
Patch 4~7 reverts GFP_ATOMIC uses to GFP_KERNEL.

Changes:
v2:
* Patch 3
* Call rt6_multipath_rebalance() under RCU

v1: https://lore.kernel.org/netdev/[email protected]/

Kuniyuki Iwashima (7):
ipv6: Remove rcu_read_lock() in fib6_get_table().
inet: Remove rtnl_is_held arg of lwtunnel_valid_encap_type(_attr)?().
ipv6: Narrow down RCU critical section in inet6_rtm_newroute(). Revert "ipv6: sr: switch to GFP_ATOMIC flag to allocate memory during
seg6local LWT setup"
Revert "ipv6: Factorise ip6_route_multipath_add()."
ipv6: Pass gfp_flags down to ip6_route_info_create_nh().
ipv6: Revert two per-cpu var allocation for RTM_NEWROUTE.

 include/net/lwtunnel.h   |  13 +-
 net/core/lwtunnel.c      |  15 +--
 net/ipv4/fib_frontend.c  |   4 +-
 net/ipv4/fib_semantics.c |  10 +-
 net/ipv4/nexthop.c       |   3 +-
 net/ipv6/ip6_fib.c       |  31 +++--
 net/ipv6/route.c         | 269 ++++++++++++++-------------------------
 net/ipv6/seg6_local.c    |   6 +-
 8 files changed, 131 insertions(+), 220 deletions(-)
Signature · 1 line
2.49.0