ecmp_rehash.sh uses unpaced socat over veth, where packet drops or SMP reordering can trigger >= 5 Fast Recoveries. With Generic PLB enabled by default, tcp_plb_check_rehash_loss() can rehash the client socket, and the resulting IPv6 flow label change can also trigger tcp_rcv_spurious_retrans() on the server side. This makes test_ecmp_dst_rebuild_consistency() and test_ecmp_syncookie_path_consistency() flaky. Let's disable Generic PLB in setup(). Signed-off-by: Kuniyuki Iwashima --- tools/testing/selftests/net/ecmp_rehash.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/net/ecmp_rehash.sh b/tools/testing/selftests/net/ecmp_rehash.sh index f05a6c8edd2a..a2b732cf2418 100755 --- a/tools/testing/selftests/net/ecmp_rehash.sh +++ b/tools/testing/selftests/net/ecmp_rehash.sh @@ -186,6 +186,7 @@ setup() ip netns exec "$ns" sysctl -qw net.ipv6.conf.default.accept_dad=0 ip netns exec "$ns" sysctl -qw net.ipv6.conf.all.forwarding=1 ip netns exec "$ns" sysctl -qw net.core.txrehash=1 + ip netns exec "$ns" sysctl -qw net.ipv4.tcp_plb_loss_rehash_prob=0 done local i sub -- 2.56.1.915.g69d5ec7298-goog