From mboxrd@z Thu Jan 1 00:00:00 1970 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 5427C34AAF7; Mon, 20 Apr 2026 16:19:42 +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=1776701982; cv=none; b=A8Dkedicup69Q9xGtFeJOov4THMv3Lam33Ue9w2fyzKRcpuEPvgZf4QYJkZH6yBKIWbMKihAO2gKr6KC0rw0RVW2BVYT5af1azI8P+iCfgTi2Dt6s9UtRf8EgOgJBOexDNfRJU13h95IPDOqHFvQwXuSVQ4YMblm12VJQtNtJ7U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776701982; c=relaxed/simple; bh=V907ZH/w9z2dvPzXc2YXpulBRdGMgFTtktBPYK+GEd4=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=W5of5NoMcbKp+3/HX2d9rwSDkruzL3VY0XogxiTHbwfuAhflDEwwAeCJ8zvsVDywGNXgG391CDA/BQs1pXLm3RiL93usWrCsI4NmE3vLSKZne0jc6EFxxt5NZpGHkSTnj/ZM8xTrs7MND60ZiXZRVf8JFQNKUhhvI/3a234b/wU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nrhIjLKd; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nrhIjLKd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A141AC19425; Mon, 20 Apr 2026 16:19:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776701982; bh=V907ZH/w9z2dvPzXc2YXpulBRdGMgFTtktBPYK+GEd4=; h=From:Subject:Date:To:Cc:From; b=nrhIjLKdxGKQNX/9M7a069uEQX8z1qclV0Zlgs12/6DaP1ZRd8JPaetz8B/yD3Q5f Sg3tE7ppFi0cZ6+uTWAnsk6Mr0cRSVgGnlzoy2nJpFX8WncCeqxGbbXFi9ER5lI11q 8haV5QmRJ+g49ykxcBmtstlMtpc+CLdzQJWYmXBMWW6ZhzVrYhklLBxgtGLAGMfKnC /uwp3huO7OpzcmyAjpVhZNhFRlnYtNsqrd1OeFfomSykZy9ZS1ze78coz8siniWXrB qrL+wlJ/S/IG2w+HVn/w6SgplVo3Ed4Qt2BIjLaEW7/NAMMXqxgCnZsSOKvPr7lEpl ot5iV2eyonPXQ== From: "Matthieu Baerts (NGI0)" Subject: [PATCH net 0/2] mptcp: sync the msk->sndbuf at accept() time Date: Mon, 20 Apr 2026 18:19:22 +0200 Message-Id: <20260420-net-mptcp-sync-sndbuf-accept-v1-0-e3523e3aeb44@kernel.org> Precedence: bulk X-Mailing-List: netdev@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=H4sIAAAAAAAC/yXM0QrCMAyF4VcZuTYQy9yYryJedFmqFYyl6cQx9 u6revkfON8KJjmKwblZIcs7WnxpjeOhAb57vQnGqTY4ch21jlCl4DMVTmiLMppO4xzQM0sqeKJ +8F0YuKUeKpGyhPj58ReoT7j+R5vHh3D5wrBtO0PsY96FAAAA X-Change-ID: 20260420-net-mptcp-sync-sndbuf-accept-5079a6f9c407 To: Mat Martineau , Geliang Tang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman Cc: netdev@vger.kernel.org, mptcp@lists.linux.dev, linux-kernel@vger.kernel.org, "Matthieu Baerts (NGI0)" , Gang Yan , stable@vger.kernel.org, Shuah Khan , linux-kselftest@vger.kernel.org X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=786; i=matttbe@kernel.org; h=from:subject:message-id; bh=V907ZH/w9z2dvPzXc2YXpulBRdGMgFTtktBPYK+GEd4=; b=owGbwMvMwCVWo/Th0Gd3rumMp9WSGDKfBUl+fhWbYntc4HmJnH1Lb3VP2R+eL4KzLe5wc4ev8 3uYL2fdUcrCIMbFICumyCLdFpk/83kVb4mXnwXMHFYmkCEMXJwCMJFIHYb/EZ0ZcpJCs9d1yTBv 1Ei2+tN+zlx2Tl3u+W0eitP/XLfZzvA/S6heovNKXuKhugRhdgem7zPbVuqvMk/7YH72q86HrJt MAA== X-Developer-Key: i=matttbe@kernel.org; a=openpgp; fpr=E8CB85F76877057A6E27F77AF6B7824F4269A073 On passive MPTCP connections, the MPTCP socket send buffer doesn't have the expected size at accept() time. Patch 1 fixes the regression introduced in v6.7, while the following one validates the fix in the selftests. Signed-off-by: Matthieu Baerts (NGI0) --- Gang Yan (2): mptcp: sync the msk->sndbuf at accept() time selftests: mptcp: add a check for sndbuf of S/C net/mptcp/protocol.c | 2 +- tools/testing/selftests/net/mptcp/diag.sh | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) --- base-commit: 0cf004ffb61cd32d140531c3a84afe975f9fc7ea change-id: 20260420-net-mptcp-sync-sndbuf-accept-5079a6f9c407 Best regards, -- Matthieu Baerts (NGI0)