ipv6: Fix two GC issues with permanent routes.
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest3 patches 3 repliesApplied 3/3
- v53 patches 2 repliesSuperseded
- v42 patches 3 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 2 patches | 3 replies | Superseded | |
| v2 | 2 patches | 1 reply | Superseded | |
| v1 | 2 patches | 1 reply | Superseded |
Changes in v6 from the cover letter
Patch 2: Call fib6_age_exceptions() under RCU
Patches in v6 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ipv6: Remove permanent routes from tb6_gc_hlist when all exceptions expire.net/ | +12 | 1 reply | Applied |
| 2/3 | ipv6: Don't remove permanent routes with exceptions from tb6_gc_hlist.include/ net/ net/ +1 more | +26 | 1 reply | Applied |
| 3/3 | selftest: net: Add GC test for temporary routes with exceptions.tools/ | +58 | 1 reply | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Xin Long | David Ahern |
|---|---|---|
| 1/3 | R-b | R-b |
| 2/3 | R-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 net 0/3] ipv6: Fix two GC issues with permanent routes.
Patch 1 fixes the unbounded growth of tb6_gc_hlist due to permanent routes whose exception routes have all expired.
Patch 2 fixes an issue where exception routes tied to permanent routes are not properly aged.
Patch 3 is a selftest for the issue fixed by Patch 2.
Changes:
v6:
Patch 2: Call fib6_age_exceptions() under RCU
v5: https://lore.kernel.org/netdev/[email protected]/
Add selftest
v4: https://lore.kernel.org/netdev/[email protected]/
Patch 2: s/,/;/ for fib6_gc_args initialisation
v3: https://lore.kernel.org/netdev/[email protected]/
Patch 2: Use IS_ENABLED()
v2: https://lore.kernel.org/netdev/[email protected]/
Patch 2: Fix build failure when CONFIG_IPV6=n (no net->ipv6 definition)
v1: https://lore.kernel.org/netdev/[email protected]/
Kuniyuki Iwashima (3):
ipv6: Remove permanent routes from tb6_gc_hlist when all exceptions
expire.
ipv6: Don't remove permanent routes with exceptions from tb6_gc_hlist.
selftest: net: Add GC test for temporary routes with exceptions.
include/net/ip6_fib.h | 21 +++++++- net/ipv6/addrconf.c | 4 +- net/ipv6/ip6_fib.c | 15 +++++- net/ipv6/route.c | 2 +- tools/testing/selftests/net/fib_tests.sh | 61 ++++++++++++++++++++++-- 5 files changed, 94 insertions(+), 9 deletions(-)
Signature · 1 line
2.53.0.959.g497ff81fa9-goog