From nobody Thu Sep 18 13:59:07 2025 Delivered-To: wpasupplicant.patchew@gmail.com Received: by 2002:a02:956b:0:0:0:0:0 with SMTP id y98csp2173394jah; Fri, 29 Oct 2021 16:56:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOgIWqpMZmoQ446lGl8nPusKNSFnDVOgVvpYP7zGLabxqLO9d0Ci/qp8jp4C7Oc2apr+/a X-Received: by 2002:a17:90a:312:: with SMTP id 18mr23261688pje.178.1635551808514; Fri, 29 Oct 2021 16:56:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635551808; cv=none; d=google.com; s=arc-20160816; b=XIAf+2d87FNS3QNM00+b7+vuXB3ourCoqnqce8nHwaB0xc3OgaGLi8MD7hJKkKWVm2 6JzYjlnSD57PrXU1RkbjJylyAgtzN+V4TtgZJaZuoHGYNrCPRAVI8RNSDcWsFQVgkHML bCZYpL1yTDuZFUQ0k2q9tT76kvTKtDhZ1kRRoc8mo3XtNwkvrCJ9wPX2tPL+pCJkhP9L E7JGFu6YnblbwAhImat6mETY6vKAdrdUm26YqPJ6cChDkdDHEmtNL9m80SddhDrQIO3l 4+C9Ap8G9YWd22ojWDWjHo2YqQ+upYu5eIbxKrSEs4k97VfHQSIEHjrnfqwvlbCihoQB ngUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=qJjexTw/602o/d2MGT23Z29rmH3lealN/EvvT8IEghs=; b=W0hS+3otMgqFZf+VxSxQX/dJlb73MqlrN+xoJNa73jvpTWGjDCHHjiydvUugMV1XgT 4q5vrsydgkd2IY37TOCXL8vjgbMMUCgDZxKmFVJWWc5DcV+0iYv5ladyUg+zfNCNB31+ faTLqRjHO+sC/J4xZn4DXARTQdwpBGPf94sxufni4XNmMpostE2CUqVdzh60OHf3Qiqt VxzdaL/qSwvna5ZNO7XFt0fxWfOVUWTKT1sa+k51Cko9n5srCL497bfmYirWGeBPpT3y HsBPeSE/8iwgT1hyeBW+zo/MLAf4k3sZHN+8x2ZpSz4Jn1Bd9zPW5JCuNIEow6B+bH4i tkmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of mptcp+bounces-2340-wpasupplicant.patchew=gmail.com@lists.linux.dev designates 2604:1380:1000:8100::1 as permitted sender) smtp.mailfrom="mptcp+bounces-2340-wpasupplicant.patchew=gmail.com@lists.linux.dev"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sjc.edge.kernel.org (sjc.edge.kernel.org. [2604:1380:1000:8100::1]) by mx.google.com with ESMTPS id me4si16233281pjb.69.2021.10.29.16.56.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Oct 2021 16:56:48 -0700 (PDT) Received-SPF: pass (google.com: domain of mptcp+bounces-2340-wpasupplicant.patchew=gmail.com@lists.linux.dev designates 2604:1380:1000:8100::1 as permitted sender) client-ip=2604:1380:1000:8100::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of mptcp+bounces-2340-wpasupplicant.patchew=gmail.com@lists.linux.dev designates 2604:1380:1000:8100::1 as permitted sender) smtp.mailfrom="mptcp+bounces-2340-wpasupplicant.patchew=gmail.com@lists.linux.dev"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sjc.edge.kernel.org (Postfix) with ESMTPS id 49A863E1026 for ; Fri, 29 Oct 2021 23:56:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 30B422C9A; Fri, 29 Oct 2021 23:56:46 +0000 (UTC) X-Original-To: mptcp@lists.linux.dev Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 04CBD29CA for ; Fri, 29 Oct 2021 23:56:44 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10152"; a="210826413" X-IronPort-AV: E=Sophos;i="5.87,194,1631602800"; d="scan'208";a="210826413" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2021 16:56:44 -0700 X-IronPort-AV: E=Sophos;i="5.87,194,1631602800"; d="scan'208";a="487759731" Received: from mjmartin-desk2.amr.corp.intel.com (HELO mjmartin-desk2.intel.com) ([10.251.3.7]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2021 16:56:44 -0700 From: Mat Martineau To: netdev@vger.kernel.org Cc: Geliang Tang , davem@davemloft.net, kuba@kernel.org, matthieu.baerts@tessares.net, pabeni@redhat.com, mptcp@lists.linux.dev Subject: [PATCH net-next 1/2] selftests: mptcp: fix proto type in link_failure tests Date: Fri, 29 Oct 2021 16:55:58 -0700 Message-Id: <20211029235559.246858-2-mathew.j.martineau@linux.intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211029235559.246858-1-mathew.j.martineau@linux.intel.com> References: <20211029235559.246858-1-mathew.j.martineau@linux.intel.com> Precedence: bulk X-Mailing-List: mptcp@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Geliang Tang In listener_ns, we should pass srv_proto argument to mptcp_connect command, not cl_proto. Fixes: 7d1e6f1639044 ("selftests: mptcp: add testcase for active-back") Signed-off-by: Geliang Tang Signed-off-by: Matthieu Baerts --- tools/testing/selftests/net/mptcp/mptcp_join.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/net/mptcp/mptcp_join.sh b/tools/testin= g/selftests/net/mptcp/mptcp_join.sh index 293d349e21fe..7ef639a9d4a6 100755 --- a/tools/testing/selftests/net/mptcp/mptcp_join.sh +++ b/tools/testing/selftests/net/mptcp/mptcp_join.sh @@ -297,7 +297,7 @@ do_transfer() if [ "$test_link_fail" -eq 2 ];then timeout ${timeout_test} \ ip netns exec ${listener_ns} \ - $mptcp_connect -t ${timeout_poll} -l -p $port -s ${cl_proto} \ + $mptcp_connect -t ${timeout_poll} -l -p $port -s ${srv_proto} \ ${local_addr} < "$sinfail" > "$sout" & else timeout ${timeout_test} \ --=20 2.33.1