Message ID | 20240926110717.102194-15-pablo@netfilter.org (mailing list archive) |
---|---|
State | Accepted |
Commit | fc786304ad9803e8bb86b8599bc64d1c1746c75f |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net,01/14] netfilter: nf_nat: don't try nat source port reallocation for reverse dir clash | expand |
diff --git a/tools/testing/selftests/net/netfilter/ipvs.sh b/tools/testing/selftests/net/netfilter/ipvs.sh index 4ceee9fb3949..d3edb16cd4b3 100755 --- a/tools/testing/selftests/net/netfilter/ipvs.sh +++ b/tools/testing/selftests/net/netfilter/ipvs.sh @@ -97,7 +97,7 @@ cleanup() { } server_listen() { - ip netns exec "$ns2" socat -u -4 TCP-LISTEN:8080,reuseaddr STDOUT > "${outfile}" & + ip netns exec "$ns2" timeout 5 socat -u -4 TCP-LISTEN:8080,reuseaddr STDOUT > "${outfile}" & server_pid=$! sleep 0.2 }