ipv6: Honor oif when choosing nexthop for locally generated traffic
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
- v3 Latest3 patches 2 repliesApplied 3/3
- v22 patches 3 repliesSuperseded
- v1 RFC2 patches 2 repliesSuperseded
Changes in v3 from the cover letter
- Add patch #1.
- Add tests with nexthop objects.
Patches in v3 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ipv6: Select best matching nexthop object in fib6_table_lookup()net/ | +9 | 1 reply | Applied |
| 2/3 | ipv6: Honor oif when choosing nexthop for locally generated trafficnet/ | +4 | 0 replies | Applied |
| 3/3 | selftests: fib_tests: Add test cases for route lookup with oiftools/ | +250 | 1 reply | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | David Ahern |
|---|---|
| 1/3 | 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 net-next v3 0/3] ipv6: Honor oif when choosing nexthop for locally generated traffic
Patch #1 is a preparation patch following the comment from Sashiko on v2. See details in the commit message.
Patch #2 aligns IPv6 with IPv4 and changes IPv6 route lookup to prefer a nexthop whose nexthop device matches the specified oif.
Patch #3 adds a selftest.
v3:
- Add patch #1.
- Add tests with nexthop objects.
v2: https://lore.kernel.org/netdev/[email protected]/
- Add tests with VRFs.
v1: https://lore.kernel.org/netdev/[email protected]/
Ido Schimmel (3):
ipv6: Select best matching nexthop object in fib6_table_lookup()
ipv6: Honor oif when choosing nexthop for locally generated traffic
selftests: fib_tests: Add test cases for route lookup with oif
net/ipv6/route.c | 22 +- tools/testing/selftests/net/fib_tests.sh | 251 ++++++++++++++++++++++- 2 files changed, 263 insertions(+), 10 deletions(-)
Signature · 1 line
2.54.0