Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp725707pxb; Tue, 2 Feb 2021 16:49:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7orzbxMnYQ8d+jVrHutFX2pQ94/X16xADWGK7BlO1h2lIDnmZUkKpmh5wm4eWkOr0g+n3 X-Received: by 2002:a17:907:7785:: with SMTP id ky5mr654826ejc.176.1612313343005; Tue, 02 Feb 2021 16:49:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612313342; cv=none; d=google.com; s=arc-20160816; b=GBEGdT91kqWoKyn6uL1ZtQsaZf6FDqx2eTPQj14/T4oOQWjIZHJXkC90J9p8xRtmvr YjNwpko15VcOfo/jXQ+3eRGZmL6jGof4Hl51ca4/u2yW7XaJMLqaEMJh3rgT4suTSFoE yyks8lqzGlMB1G6+5g8Uw/yreav8fUfj/hc8a15jK0ksa8Vz/3Xauvg6+2sZQ26PxvJA 0KGXrM9fgmoKJL8fbmgLE0RrjsUfnADYfbt621my3NJz0LY3z7wC42n6QF4zdI+BxEFh xjtcktGKwLh/HppfciP+Hwz2tj0fgaYdU+ory9G+degyPKPLLDX2I9MYpHXuj0NpRvbA USyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=G4IufyxdHBDLRPHh4sNr4DXjUQnNovzByLN1ROz3Tqg=; b=B2q09wEclOkL1BZbR9pWazvoBDZYf80h4fCieVzMtfkHuYLN2+zPA36kelLKVrMNF6 ltWrjX/r06aiQ2Phet4J/0LI9RLbBd10c9zVa2eDjpZJxK/JctFzdjKKlTqZKW6+WVIb 2CeoxgCvdgiqouIBzVdkvYjqvA4tJyLnC64ogFY2xSZcQIwjVCUBMUeFIqasI8KFCcFu v97Gc9odNGa6B3tgtERG3dOZ4w+4XqWUnhBoSFVSD0qxqkywaIcYQIADeXIYE/1mS2Tj S6DUTSYnzVP3xv219NoL3MShVVHCKE5Wss5IzoIfMaIo5QJhBPLqWGnfIDYJWvnryCF8 B9ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KSvXa5k+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt5si286474ejb.639.2021.02.02.16.48.38; Tue, 02 Feb 2021 16:49:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KSvXa5k+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233196AbhBBTgq (ORCPT + 99 others); Tue, 2 Feb 2021 14:36:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:45178 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233215AbhBBN4T (ORCPT ); Tue, 2 Feb 2021 08:56:19 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2B8BC64F68; Tue, 2 Feb 2021 13:45:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612273504; bh=ixivgIlh1IPA3J4TEhtPXAxoNvXYrtmJTO/IyMq+rPE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KSvXa5k+Mct99xa7v10WGBKmlOJF0i12oCIIhyGE3BFNV8iw0Oz/X7lTFACwrGFd7 HBaeV0EaRqlZosUS6r4PO78/aCBn/EfIxzkH9z2wgsts2qERtFyGXb5xfYMY1hljl1 cIKb+QmlyHZAYrnMm8Hm4X2YgO34vaUMaq4weyc8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Danielle Ratson , Ido Schimmel , Jakub Kicinski , Sasha Levin Subject: [PATCH 5.10 131/142] selftests: forwarding: Specify interface when invoking mausezahn Date: Tue, 2 Feb 2021 14:38:14 +0100 Message-Id: <20210202133003.098725784@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210202132957.692094111@linuxfoundation.org> References: <20210202132957.692094111@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Danielle Ratson [ Upstream commit 11df27f7fdf02cc2bb354358ad482e1fdd690589 ] Specify the interface through which packets should be transmitted so that the test will pass regardless of the libnet version against which mausezahn is linked. Fixes: cab14d1087d9 ("selftests: Add version of router_multipath.sh using nexthop objects") Fixes: 3d578d879517 ("selftests: forwarding: Test IPv4 weighted nexthops") Signed-off-by: Danielle Ratson Signed-off-by: Ido Schimmel Signed-off-by: Jakub Kicinski Signed-off-by: Sasha Levin --- tools/testing/selftests/net/forwarding/router_mpath_nh.sh | 2 +- tools/testing/selftests/net/forwarding/router_multipath.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/net/forwarding/router_mpath_nh.sh b/tools/testing/selftests/net/forwarding/router_mpath_nh.sh index cf3d26c233e8e..7fcc42bc076fa 100755 --- a/tools/testing/selftests/net/forwarding/router_mpath_nh.sh +++ b/tools/testing/selftests/net/forwarding/router_mpath_nh.sh @@ -197,7 +197,7 @@ multipath4_test() t0_rp12=$(link_stats_tx_packets_get $rp12) t0_rp13=$(link_stats_tx_packets_get $rp13) - ip vrf exec vrf-h1 $MZ -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \ + ip vrf exec vrf-h1 $MZ $h1 -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \ -d 1msec -t udp "sp=1024,dp=0-32768" t1_rp12=$(link_stats_tx_packets_get $rp12) diff --git a/tools/testing/selftests/net/forwarding/router_multipath.sh b/tools/testing/selftests/net/forwarding/router_multipath.sh index 79a2099279621..464821c587a5e 100755 --- a/tools/testing/selftests/net/forwarding/router_multipath.sh +++ b/tools/testing/selftests/net/forwarding/router_multipath.sh @@ -178,7 +178,7 @@ multipath4_test() t0_rp12=$(link_stats_tx_packets_get $rp12) t0_rp13=$(link_stats_tx_packets_get $rp13) - ip vrf exec vrf-h1 $MZ -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \ + ip vrf exec vrf-h1 $MZ $h1 -q -p 64 -A 192.0.2.2 -B 198.51.100.2 \ -d 1msec -t udp "sp=1024,dp=0-32768" t1_rp12=$(link_stats_tx_packets_get $rp12) -- 2.27.0