From nobody Wed Sep 10 05:33:56 2025 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 46D6621FF39; Mon, 8 Sep 2025 21:27:56 +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=1757366876; cv=none; b=Agfw5D4Xg6X5ZrdFFTLxf7jHxHsV53P8ZJG4oFJ4O0Hno4/B7jH35x1S+C9wMYEZ6DVtkeYl0D1m9j5OAwuLmV8TRFy8Z9kKH8vudZ92HTaw2zBBN8Xqv3nfn9xZEW+Y4o8p2+hgQk92Ca0Q8Pa/rBGGRS1HOMf1wFNNq8AeU20= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757366876; c=relaxed/simple; bh=2pnkprJwXgpBNzbLgqI2s8p4b2iZai3DkVfEhF0IFOE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WmnoRNHkF2///z9n4EGzuNcwoBjs/+0TZeNuhgcaDIgQ3U0eIlJyxA+Ru1eh9Ka7aSEBrIxnDd+uHZW1nuNiAe+jwfoFnRx2DI70g23RPTP/i3/qdj8Em+PKvlwZUC/hsnHbJNR0+bFZT4Brqw+WA5oO8WTSSlL+R5XSX7NvZdA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=C3jkUlFs; 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="C3jkUlFs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2B48C4CEF9; Mon, 8 Sep 2025 21:27:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1757366875; bh=2pnkprJwXgpBNzbLgqI2s8p4b2iZai3DkVfEhF0IFOE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=C3jkUlFsAXhgKn4zS221intRVHQASC087PDVppT4sbCPu/9u3ZDmu1RvrOYoY0HMr 1oU1l/91o9Khjxf0sFcqvouS1qYv4IL1SYt8JD3Nve0eCEDrRNUEawf5tZuD8B4UZS wqsJgRdxO5c3OV0l3yHUpFFoAt5yA9deuRIkWdF53DNrcilhb1UVa2MQOF5+HTjVtn OJ60fj4en41jp0qASWvyd28cm48Qxb9l2CpLZRY4v/iSeQY/OVEqSRHMheR3mhYfn6 l6ZeI3b7grUHLXXgZw4tVDmCgpfzCPQy05oP+3PzyRe/uQcNY8eAc+IDNBrV+ktQRV l7+EuYkONKJ3Q== From: "Matthieu Baerts (NGI0)" Date: Mon, 08 Sep 2025 23:27:27 +0200 Subject: [PATCH net 1/3] netlink: specs: mptcp: fix if-idx attribute type 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: quoted-printable Message-Id: <20250908-net-mptcp-misc-fixes-6-17-rc5-v1-1-5f2168a66079@kernel.org> References: <20250908-net-mptcp-misc-fixes-6-17-rc5-v1-0-5f2168a66079@kernel.org> In-Reply-To: <20250908-net-mptcp-misc-fixes-6-17-rc5-v1-0-5f2168a66079@kernel.org> To: Mat Martineau , Geliang Tang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Donald Hunter , Davide Caratti , Jonathan Corbet , Shuah Khan Cc: netdev@vger.kernel.org, mptcp@lists.linux.dev, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, "Matthieu Baerts (NGI0)" , stable@vger.kernel.org X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1084; i=matttbe@kernel.org; h=from:subject:message-id; bh=2pnkprJwXgpBNzbLgqI2s8p4b2iZai3DkVfEhF0IFOE=; b=owGbwMvMwCVWo/Th0Gd3rumMp9WSGDL2ewWWXn1/beXCCTqdUh/uiDl/eelwfGHZ690xS/bZz uxOu5sr3FHKwiDGxSArpsgi3RaZP/N5FW+Jl58FzBxWJpAhDFycAjCRox0Mf6V1HuzeZd3uo38m 72959pSYH8Z/26xSub7e2Zv6Q6Gu7CxQRdZHlullLT+fateIRZybc/kiZ3dEheqmAwwfBc7Ul2/ lAgA= X-Developer-Key: i=matttbe@kernel.org; a=openpgp; fpr=E8CB85F76877057A6E27F77AF6B7824F4269A073 This attribute is used as a signed number in the code in pm_netlink.c: nla_put_s32(skb, MPTCP_ATTR_IF_IDX, ssk->sk_bound_dev_if)) The specs should then reflect that. Note that other 'if-idx' attributes from the same .yaml file use a signed number as well. Fixes: bc8aeb2045e2 ("Documentation: netlink: add a YAML spec for mptcp") Cc: stable@vger.kernel.org Reviewed-by: Geliang Tang Signed-off-by: Matthieu Baerts (NGI0) --- Documentation/netlink/specs/mptcp_pm.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/netlink/specs/mptcp_pm.yaml b/Documentation/netl= ink/specs/mptcp_pm.yaml index 02f1ddcfbf1cfd81a398dd03c52bb9f281c1aa08..d15335684ec3d6256505f2b3887= ce5818eb57462 100644 --- a/Documentation/netlink/specs/mptcp_pm.yaml +++ b/Documentation/netlink/specs/mptcp_pm.yaml @@ -256,7 +256,7 @@ attribute-sets: type: u32 - name: if-idx - type: u32 + type: s32 - name: reset-reason type: u32 --=20 2.51.0