ipv6: fix ECMP route failover on carrier loss
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
- v2 Latest2 patches 0 repliesApplied 2/2
- v12 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- Changes to selftest addressing Ido’s and sashiko’s suggestions:
require_command for socat and tcpdump, EXIT trap, lower threshold
for test success, and fix exit code.
v1: https://lore.kernel.org/netdev/[email protected]/
Patches in v2 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ipv6: update route serial number on NETDEV_CHANGEnet/ | +1 | 0 replies | Applied |
| 2/2 | selftest: net: Add test for TCP flow failover with ECMP routes.tools/ tools/ | +217 | 0 replies | Applied |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Kuniyuki Iwashima | Ido Schimmel | Eric Dumazet |
|---|---|---|---|
| 1/2 | R-b | R-b | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH net v2 0/2] ipv6: fix ECMP route failover on carrier loss
This patchset resolves an issue where established IPv6 connections are unable to transition to alternative ECMP nexthops upon carrier loss.
Unlike IPv4, the IPv6 routing subsystem does not actively invalidate cached destinations during a NETDEV_CHANGE event. Sockets persist with dead routes, leading to stalled traffic or connection drops.
This series introduces a fix to trigger route invalidation by updating the route serial number on link carrier loss and provides a corresponding selftest to validate the failover behavior for IPv4 and IPv6.
---
v2:
- Changes to selftest addressing Ido’s and sashiko’s suggestions:
require_command for socat and tcpdump, EXIT trap, lower threshold
for test success, and fix exit code.
v1: https://lore.kernel.org/netdev/[email protected]/
Kuniyuki Iwashima (1):
selftest: net: Add test for TCP flow failover with ECMP routes.
Sagarika Sharma (1):
ipv6: update route serial number on NETDEV_CHANGE
net/ipv6/route.c | 1 + tools/testing/selftests/net/Makefile | 1 + .../selftests/net/tcp_ecmp_failover.sh | 216 ++++++++++++++++++ 3 files changed, 218 insertions(+) create mode 100755 tools/testing/selftests/net/tcp_ecmp_failover.sh
Signature · 1 line
2.54.0.545.g6539524ca2-goog