]> git.dujemihanovic.xyz Git - linux.git/commit
selftests: netfilter: Avoid hanging ipvs.sh
authorPhil Sutter <phil@nwl.cc>
Thu, 19 Sep 2024 12:40:00 +0000 (14:40 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 26 Sep 2024 11:03:03 +0000 (13:03 +0200)
commitfc786304ad9803e8bb86b8599bc64d1c1746c75f
tree784ffd8095a08139947252f6de15d1e8f136c21d
parente306e3739d9a35c89176281f9ff6c600fcc859a4
selftests: netfilter: Avoid hanging ipvs.sh

If the client can't reach the server, the latter remains listening
forever. Kill it after 5s of waiting.

Fixes: 867d2190799a ("selftests: netfilter: add ipvs test script")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tools/testing/selftests/net/netfilter/ipvs.sh