From patchwork Thu Mar 4 21:32:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mat Martineau X-Patchwork-Id: 1447503 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=) 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 4Ds3x92xvNz9sW8 for ; Fri, 5 Mar 2021 08:32:28 +1100 (AEDT) Received: from ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 14222100F227A; Thu, 4 Mar 2021 13:32:26 -0800 (PST) Received-SPF: Pass (helo) identity=helo; client-ip=192.55.52.136; helo=mga12.intel.com; envelope-from=mathew.j.martineau@linux.intel.com; receiver= 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 ml01.01.org (Postfix) with ESMTPS id 20403100F2268 for ; Thu, 4 Mar 2021 13:32:24 -0800 (PST) IronPort-SDR: bz23fPZ3wEauT1Y17GVU8EEi54nhgkRWjgwQ91sNTT7gytp0y7P6hFg9xCwxdJBicl7IN8ZWBT MRaHyrlmhfQQ== X-IronPort-AV: E=McAfee;i="6000,8403,9913"; a="166769403" X-IronPort-AV: E=Sophos;i="5.81,223,1610438400"; d="scan'208";a="166769403" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2021 13:32:22 -0800 IronPort-SDR: R+KIm55i0bTOcoU+wzGETFZrYYeip4GywHOObzMHusFmO5LUIhEuAP9m6Q98WiaVIVp+c6iCPB 44wG00sP9hIw== X-IronPort-AV: E=Sophos;i="5.81,223,1610438400"; d="scan'208";a="368329475" Received: from mjmartin-desk2.amr.corp.intel.com (HELO mjmartin-desk2.intel.com) ([10.254.105.71]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Mar 2021 13:32:22 -0800 From: Mat Martineau To: netdev@vger.kernel.org Date: Thu, 4 Mar 2021 13:32:07 -0800 Message-Id: <20210304213216.205472-1-mathew.j.martineau@linux.intel.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Message-ID-Hash: YXXZZV6I6LUPW3X6EFZ5LTUD5XKDIFJH X-Message-ID-Hash: YXXZZV6I6LUPW3X6EFZ5LTUD5XKDIFJH X-MailFrom: mathew.j.martineau@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: davem@davemloft.net, kuba@kernel.org, mptcp@lists.01.org X-Mailman-Version: 3.1.1 Precedence: list Subject: [MPTCP] [PATCH net 0/9] mptcp: Fixes for v5.12 List-Id: Discussions regarding MPTCP upstreaming Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: These patches from the MPTCP tree fix a few multipath TCP issues: Patches 1 and 5 clear some stale pointers when subflows close. Patches 2, 4, and 9 plug some memory leaks. Patch 3 fixes a memory accounting error identified by syzkaller. Patches 6 and 7 fix a race condition that slowed data transmission. Patch 8 adds missing wakeups when write buffer space is freed. Florian Westphal (4): mptcp: reset last_snd on subflow close mptcp: put subflow sock on connect error mptcp: dispose initial struct socket when its subflow is closed mptcp: reset 'first' and ack_hint on subflow close Geliang Tang (1): mptcp: free resources when the port number is mismatched Paolo Abeni (4): mptcp: fix memory accounting on allocation error mptcp: factor out __mptcp_retrans helper() mptcp: fix race in release_cb mptcp: fix missing wakeup net/mptcp/protocol.c | 165 +++++++++++++++++++++++++++---------------- net/mptcp/subflow.c | 14 ++-- 2 files changed, 112 insertions(+), 67 deletions(-) base-commit: a9ecb0cbf03746b17a7c13bd8e3464e6789f73e8