From patchwork Tue Feb 23 04:29:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geliang Tang X-Patchwork-Id: 1443388 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.01.org (client-ip=198.145.21.10; helo=ml01.01.org; envelope-from=mptcp-bounces@lists.01.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=LLDGlP0w; dkim-atps=neutral Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Dl5gj2mm3z9sS8 for ; Tue, 23 Feb 2021 15:30:09 +1100 (AEDT) Received: from ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 68CDE100EB32D; Mon, 22 Feb 2021 20:30:05 -0800 (PST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::42a; helo=mail-pf1-x42a.google.com; envelope-from=geliangtang@gmail.com; receiver= Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 01FD6100EC1E8 for ; Mon, 22 Feb 2021 20:30:03 -0800 (PST) Received: by mail-pf1-x42a.google.com with SMTP id r5so2040480pfh.13 for ; Mon, 22 Feb 2021 20:30:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+BuDnxk4nmi7Iojq/gO0NZ+6wNiCbhVaHGm9ro2kpfk=; b=LLDGlP0w2LnUZMBgmzlz8SDFQ/LQfvKzM25XZabSBn62zdjlvRVqVp7pqkq+nOA4pd JOj84gX5AP7U7+DHGEihn+tuYxI7072sdRo+9OvhNcS/defbpZYxTEQObFK0aGUPKqFQ u039eYokfzg8/fQIhheH0kWjpUW9vc7cYWM1FyVNIAjwTUGB7uN3s4lWbamTEH5/C+fS ArnuJmqHFEnJatzkV6ebo9ev24rqzpdKySpjENEQhBwSbzIeyT9gFaP4KS3xKuZB0t8Y 230JCF8jxkVKZfNoHiwszcyUVhXBur9iVi+nNDnu78l16boztJFbzNJbORkMqXlib2/h 94LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+BuDnxk4nmi7Iojq/gO0NZ+6wNiCbhVaHGm9ro2kpfk=; b=McJcdYoGh33sgMRdbxI3YCBMa9ahJbu6/Egb4KxFR9FJcYQ+GaUYpB7RuokrYU7WCS EE8bjp/5/UYJIWPwi4xqQrXR38zwlUY8QIiGNRcKDcEapvlP3purWnMuz2xokInF6Owf tQcv9ZyIGtwj6DG4XOnAXqjjmlw/2GOcyqdag8YDJiG9BNjlrFzAqAovqaM8YbRNQCjT QNnP/Shch/odcIeE76tOeoO8KOVmYtF2kJJzRnXqNNnIZClAdAB5a8Iyg3DvgfTD07/O +OxEPYlVrxRurhhsIY5OqV+WxspqU2qUTlI//oqrbNYuXohKegLEaS1Ra0PJk972NaYB wTQA== X-Gm-Message-State: AOAM5331++N8Q13xt/zVlY74BdpvCQW3nc2U6oxpoqoQkzGxD2bvJP1S ij4H8q4cqqrJBlMIMgJnk9F5JkEOPdS5Dg== X-Google-Smtp-Source: ABdhPJwsjrY+eql3RloBQanYAxqjb3LSIETb8vHG1AvRinePKs5ZTh/CWDmwczFrM7Lhezsagx323A== X-Received: by 2002:aa7:9e4d:0:b029:1dd:c2db:55ef with SMTP id z13-20020aa79e4d0000b02901ddc2db55efmr546620pfq.45.1614054601860; Mon, 22 Feb 2021 20:30:01 -0800 (PST) Received: from localhost ([209.9.72.213]) by smtp.gmail.com with ESMTPSA id h70sm20324414pfe.70.2021.02.22.20.30.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 20:30:01 -0800 (PST) From: Geliang Tang To: mptcp@lists.01.org Date: Tue, 23 Feb 2021 12:29:54 +0800 Message-Id: X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Message-ID-Hash: YYGUNJQ44PZZ6JDGU75P3RJWMGLMPTXN X-Message-ID-Hash: YYGUNJQ44PZZ6JDGU75P3RJWMGLMPTXN X-MailFrom: geliangtang@gmail.com X-Mailman-Rule-Hits: member-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address CC: Geliang Tang X-Mailman-Version: 3.1.1 Precedence: list Subject: [MPTCP] [MPTCP][PATCH v2 mptcp-next 0/4] move to next addr when timeout List-Id: Discussions regarding MPTCP upstreaming Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: v2: - invoke lookup_subflow_by_daddr in mptcp_pm_add_addr_received, not in mptcp_pm_nl_add_addr_received. - add a sanity check on cfg_do_w. apply: export/20210222T184014 move to next addr and testcases Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/151 Geliang Tang (4): mptcp: skip connecting the connected address mptcp: move to next addr when timeout selftests: mptcp: add cfg_do_w for cfg_remove selftests: mptcp: timeout testcases for multi addresses net/mptcp/pm.c | 3 ++- net/mptcp/pm_netlink.c | 23 +++++++++++++++- net/mptcp/protocol.h | 2 ++ .../selftests/net/mptcp/mptcp_connect.c | 10 ++++--- .../testing/selftests/net/mptcp/mptcp_join.sh | 26 +++++++++++++++++-- 5 files changed, 57 insertions(+), 7 deletions(-)