Skip to content

ipv6: ignore link state in gateway check

Yaroslav Dudkov linux-kselftest lkml netdev 2 versions – Applied

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

  1. v2 Latest2 patches 3 repliesApplied 2/2
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

- Fix variable ordering.
- Add a regression selftest.

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2ipv6: ignore link state in gateway checknet/ipv6/route.c+1 -11 replyApplied
2/2selftests: fib_tests: Add carrier gateway testtools/testing/selftests/net/fib_tests.sh+40 -01 replyApplied

Reviews trailers per patch

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

PatchHangbin LiuIdo Schimmel
SeriesR-b
1/2R-b
2/2T-b R-b

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 net v2 0/2] ipv6: ignore link state in gateway check

IPv6 gateway validation can reject routes in non-main tables when ignore_routes_with_linkdown is enabled and the nexthop device has no carrier, even though these routes should be added.

Fix this by ignoring link state during gateway validation and add a regression selftest covering IPv4 and IPv6 route installation.

Changes in v2:
- Fix variable ordering.
- Add a regression selftest.

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

Yaroslav Dudkov (2):
ipv6: ignore link state in gateway check
selftests: fib_tests: Add carrier gateway test

 net/ipv6/route.c                         |  2 +-
 tools/testing/selftests/net/fib_tests.sh | 40 ++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 1 deletion(-)
Signature · 1 line
2.54.0