lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 21 May 2020 15:11:45 +0300
From:   Ido Schimmel <>
Cc:,,,, Amit Cohen <>,
        Ido Schimmel <>
Subject: [PATCH net 2/2] selftests: mlxsw: qos_mc_aware: Specify arping timeout as an integer

From: Amit Cohen <>

Starting from iputils s20190709 (used in Fedora 31), arping does not
support timeout being specified as a decimal:

$ arping -c 1 -I swp1 -b -q -w 0.1
arping: invalid argument: '0.1'

Previously, such timeouts were rounded to an integer.

Fix this by specifying the timeout as an integer.

Fixes: a5ee171d087e ("selftests: mlxsw: qos_mc_aware: Add a test for UC awareness")
Signed-off-by: Amit Cohen <>
Reviewed-by: Petr Machata <>
Signed-off-by: Ido Schimmel <>
 tools/testing/selftests/drivers/net/mlxsw/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/drivers/net/mlxsw/ b/tools/testing/selftests/drivers/net/mlxsw/
index 24dd8ed48580..b025daea062d 100755
--- a/tools/testing/selftests/drivers/net/mlxsw/
+++ b/tools/testing/selftests/drivers/net/mlxsw/
@@ -300,7 +300,7 @@ test_uc_aware()
 	local i
 	for ((i = 0; i < attempts; ++i)); do
-		if $ARPING -c 1 -I $h1 -b -q -w 0.1; then
+		if $ARPING -c 1 -I $h1 -b -q -w 1; then

Powered by blists - more mailing lists