Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp945409rbd; Fri, 23 Feb 2024 08:16:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU8GtYG18NxbCFwsFGDkxDrkJUvrDULCyuCbTwrqc9C1VU9g8oefGJB9ejBxtglVvpEHo5pWdUXM/LqbZ1yEWL1NlvxxVVNptq8Wp5gow== X-Google-Smtp-Source: AGHT+IFJ1gZJLlJFMKw7bkm2liNRrTIrSh2XdRAMWZqC7J9Nd5idovogVewVY6ezieYCiS3HKygI X-Received: by 2002:a17:90a:c587:b0:299:5d8a:434b with SMTP id l7-20020a17090ac58700b002995d8a434bmr295464pjt.40.1708704993913; Fri, 23 Feb 2024 08:16:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708704993; cv=pass; d=google.com; s=arc-20160816; b=oK491/vOAqQh+ybd5YsTnWonDtod93zf5iMgkDB+1JK/3U7sX+L8yqQsa40EyDmS6z dIJnSuBZWh40Fpq32472dY8XF/CTE99y1nua7qZauLRo0HtdYJqEWfv2wnQizUJXIcFP rRzWd34KG3db8vDbkAoSTnZkq/5GGuTWyuwY7ItXJmNeHLxELcEXmo3cFJL5cKx1SKy+ EdNFBJwkN3Dj/gtkaw3YzWb8TqKKG67SdhgPXxkCD0snh43iLpBi9wu7UKTJjjnA7JSw j55CfRsmru5pxWrFooU5XJ9HLu/8iICW4oNvFlM4FDQ34BaT6rBcnEp9nWbwCWu3Lzyd kIhw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=EAreU7NybPhaNvI8VloViUCqA3J/4c67x/YWH7S6Csw=; fh=z96bOE7vvT/FbWEwpB92eXA5RQu6+PheCrO5ydKZ9iY=; b=rKN1/YE4IzecVNb2EDd+zOFtB21sQiWFia1otmLxQzy/TWJWBtD8i+jQDsztan5OJx a3dEPqbN6Vr0EE5m77QHjVaviMEx+z782QPRxegnMLCPJ6nuOyAjKGYmTZ9RfLNxg4GI 3dSlsyjFDZ5zHvvgDsbvT9qsSBugnzv6X0pj8GDo5X4WVszSR27ghQdjNVeQrwyKTB9m veLrzkQ0Se/DGVGIWlKsgJvLhoYGxuHJdI58oKO0rj0+95+ct/TnL2o4zD3e7hd0vHV6 PapEMjd7mbYGpiY8v0WUSCEvJvCrf3eDKlJ+fp4xbdCBLLWhJY5kIYlfK63enQRd/stB rrqg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Yc4/2YyG"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78688-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78688-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y1-20020a17090a474100b0029948fdf5ffsi1419023pjg.19.2024.02.23.08.16.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 08:16:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78688-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Yc4/2YyG"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78688-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78688-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6A1312812A5 for ; Fri, 23 Feb 2024 16:15:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 709C21272B1; Fri, 23 Feb 2024 16:14:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Yc4/2YyG" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 EDCFE84A33; Fri, 23 Feb 2024 16:14:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708704879; cv=none; b=hA69EWozCAMQ0OEEymYDjAkGVSOrdt5OYlVWGHr4tYzLdQnrPUlB1bzAkyyazW1b70G+tLHpvSoNXOMFXpt4afiUTo5SYsZL44JzBw39+bdOOm3i8ar3sUu0pPtthJ24ZGshQXsHAzRrdNwdrnNtzdybsFjUDcw0VM3vrMV8RW0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708704879; c=relaxed/simple; bh=7DVxqDB8uewp//XF8YJru8VTzsz0mpG0zYO9Y23VmHM=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=l9m5agouUkW/yBkV0owJriOKAtYR3yp6An+7ZmHAIwPzh4EuG9JSGcM3cArOuh9dqUlMfB5KQgWFSco0cL5/+8oQQN7ia2Yfn9Up5z5nDGZoqtJi2ZcLtf5EWGoMzZmWeCWStXEFlFjMTPQaSlfacDbPZtxFbl29GEcDIOdWyDI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Yc4/2YyG; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE1A2C433C7; Fri, 23 Feb 2024 16:14:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708704878; bh=7DVxqDB8uewp//XF8YJru8VTzsz0mpG0zYO9Y23VmHM=; h=From:Subject:Date:To:Cc:From; b=Yc4/2YyGTes8mFZtIggimGKzLlEXLqjvHSMpcbSBatdiuG4c2YEJ3aDonblQB/tPG B7mUxSEoSpPGT+uZ+XyGA+uoLDEMBCniuK5va2Ta9zSa54EFz+c30cR8mEG493k/BZ kAmjyWjDMo9WFVbX/EqqczKw2mcCxqOAfvzgwOqghR6sauQT/DcvFj3Ft55PlVFxaz X0CDZlKNYt2kjmYEHahdknCsVRYU/T0OXBAmzwIaJRHnkAvItdOvWHOToZnn5WDYhP zOPEG3C9uW2fxV+rrpLHmOGA+lFsN/gjilGaBWJDWLnkjh9vnHS1pn+t4EjmhZMfWs BQJf4jzfA+4nw== From: "Matthieu Baerts (NGI0)" Subject: [PATCH net 00/10] mptcp: more misc. fixes for v6.8 Date: Fri, 23 Feb 2024 17:14:10 +0100 Message-Id: <20240223-upstream-net-20240223-misc-fixes-v1-0-162e87e48497@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAFPE2GUC/z2MMQqAMAxFryKZDdRWHLyKONQaNYNVGhWheHeDg +P7n/cyCCUmgbbIkOhi4S0qVGUBYfFxJuRRGayxtbHW4bnLkcivGOnAf11ZAk58k2DVOBPGZnC D8aCZPdF3aKUDlaB/nhffgTyddwAAAA== To: mptcp@lists.linux.dev, Mat Martineau , Geliang Tang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Florian Westphal , Kishen Maloor , Shuah Khan , Peter Krystad , Christoph Paasch Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, "Matthieu Baerts (NGI0)" , Geliang Tang , stable@vger.kernel.org, Davide Caratti X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2895; i=matttbe@kernel.org; h=from:subject:message-id; bh=7DVxqDB8uewp//XF8YJru8VTzsz0mpG0zYO9Y23VmHM=; b=owEBbQKS/ZANAwAIAfa3gk9CaaBzAcsmYgBl2MRqF4nBD0UH9ACvTixOZlO/DUTXXCQBGWQyY zBQPYkgRgCJAjMEAAEIAB0WIQToy4X3aHcFem4n93r2t4JPQmmgcwUCZdjEagAKCRD2t4JPQmmg c/WGEADEIi/qT4lghTbjp7V4HEaaMYXbFsTmGI6otb9GH5BFgxWceGSwQ4kca4H23jujCGBoRbp KBasrw5HPIyX47T7LyUWKyOJa9yR882cwOokEb5SY1ALZ81whj8K9cYqHu9Ocgjczb1aWN3EtQR 4+gjUo5evxyRt7Y+n4lYK6Je1Gjs2FAUY89qO8U0hPZmQ0PJZegFY/+n9NdOQobvelGobCQREaU y27FPgyf3a+ERCN8dUpaEJdAbD1LTeq10cVT2s3UAWWjqQQY0vw1MEiPRb1+pU1WVwxOPBYPBmh XawR+hbiK/9P68nDK3nmi5HONDiuSwkUXb3S/eWm4l9XJpPvdinh3v/OKKrQj+sn8c/sbqYtJWk OS0HO/8P192AGG24TiEupWa2wqrnGNUAfbbAL2E73LrdMUGNIu7k//oeCjvRaPPPVOljyrAqcHZ vdMTxeH5WJzVO5GfdvmHrDnEciJSyRQOmGdFT/D5GZTw70+fXWhf99FfCOFWgMyiqeni0pHBOG0 TIUBOsNaurxXWrY45QheJsSo2gvVjC80dw1i0v39cpveJl4aDdNC9C3DBz02DMnCDf5RuZzRReh jMlZBUwPE4QMl59SWJy9Mm1gM3/K1eFgJqF0YWV+B2+/HjleZKQGfL+LK2dAd1JBJAYNe7UkfK5 TkcsrHqqOQ/WWFw== X-Developer-Key: i=matttbe@kernel.org; a=openpgp; fpr=E8CB85F76877057A6E27F77AF6B7824F4269A073 This series includes 6 types of fixes: - Patch 1 fixes v4 mapped in v6 addresses support for the userspace PM, when asking to delete a subflow. It was done everywhere else, but not there. Patch 2 validates the modification, thanks to a subtest in mptcp_join.sh. These patches can be backported up to v5.19. - Patch 3 is a small fix for a recent bug-fix patch, just to avoid printing an irrelevant warning (pr_warn()) once. It can be backported up to v5.6, alongside the bug-fix that has been introduced in the v6.8-rc5. - Patches 4 to 6 are fixes for bugs found by Paolo while working on TCP_NOTSENT_LOWAT support for MPTCP. These fixes can improve the performances in some cases. Patches can be backported up to v5.6, v5.11 and v6.7 respectively. - Patch 7 makes sure 'ss -M' is available when starting MPTCP Join selftest as it is required for some subtests since v5.18. - Patch 8 fixes a possible double-free on socket dismantle. The issue always existed, but was unnoticed because it was not causing any problem so far. This fix can be backported up to v5.6. - Patch 9 is a fix for a very recent patch causing lockdep warnings in subflow diag. The patch causing the regression -- which fixes another issue present since v5.7 -- should be part of the future v6.8-rc6. Patch 10 validates the modification, thanks to a new subtest in diag.sh. Signed-off-by: Matthieu Baerts (NGI0) --- Davide Caratti (1): mptcp: fix double-free on socket dismantle Geliang Tang (3): mptcp: map v4 address to v6 when destroying subflow selftests: mptcp: rm subflow with v4/v4mapped addr selftests: mptcp: join: add ss mptcp support check Matthieu Baerts (NGI0) (1): mptcp: avoid printing warning once on client side Paolo Abeni (5): mptcp: push at DSS boundaries mptcp: fix snd_wnd initialization for passive socket mptcp: fix potential wake-up event loss mptcp: fix possible deadlock in subflow diag selftests: mptcp: explicitly trigger the listener diag code-path net/mptcp/diag.c | 3 ++ net/mptcp/options.c | 2 +- net/mptcp/pm_userspace.c | 10 +++++ net/mptcp/protocol.c | 52 ++++++++++++++++++++++++- net/mptcp/protocol.h | 21 +++++----- tools/testing/selftests/net/mptcp/diag.sh | 30 +++++++++++++- tools/testing/selftests/net/mptcp/mptcp_join.sh | 33 ++++++++++------ tools/testing/selftests/net/mptcp/mptcp_lib.sh | 4 +- 8 files changed, 128 insertions(+), 27 deletions(-) --- base-commit: b0b1210bc150fbd741b4b9fce8a24541306b40fc change-id: 20240223-upstream-net-20240223-misc-fixes-1630cd6b3b0a Best regards, -- Matthieu Baerts (NGI0)