From nobody Mon Feb 9 15:08:25 2026 Received: from mail1.fiberby.net (mail1.fiberby.net [193.104.135.124]) (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 C77AF345749; Wed, 22 Oct 2025 18:27:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.104.135.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761157640; cv=none; b=OJYwIuR1wMcp2xtBQ8OEbzFTGm4gK5nunEcsiBtbHjj96mhiN9dsQAO/j1JbYyrUBoc1nXREQGo0DNTLiw4jqM3dwnH2bdLJw0VbUzMg49jWkQe5+PmH0wDfBAXyB6fXloUUhVwp3XsNZmJhR5hfTMnUDH5sQ71Be6RBghQrPZs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761157640; c=relaxed/simple; bh=6HQ7FnLmTaEfzf3bCO0gsOgjyTTSNfAG8WwaCExdgsc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dY/MI9eryHhA86r6ShvnMcnr5/GWB93NwuBCcBC3w7M9UIIWhf01dEQO93WCwOyrPjEQFMET46Fl0By2kInhCHCXgBTwUqrpzCE+bjC3XLwHrUuYwunCn8vRfp2IC003uqnDsDu44/k5/qmNC8+wHkfENEXPoSCywo9uGf7rxuc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fiberby.net; spf=pass smtp.mailfrom=fiberby.net; dkim=pass (2048-bit key) header.d=fiberby.net header.i=@fiberby.net header.b=U5a+i6a5; arc=none smtp.client-ip=193.104.135.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fiberby.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fiberby.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fiberby.net header.i=@fiberby.net header.b="U5a+i6a5" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fiberby.net; s=202008; t=1761157634; bh=6HQ7FnLmTaEfzf3bCO0gsOgjyTTSNfAG8WwaCExdgsc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U5a+i6a5/nx2IGH9IG/UcKdHB5lyKpYajqGZmUDxiDAgGUZi3LaAqM8ksHhkTW3To 1uP8EL5yX0aQ6C2m+5Ifqper9HuWryJ93bedNMLyno28DKnp/KbyNA3kGkGalyIFUG 9pqotb9Ni59gM4TdvIONuwTTb9UhDm6wobX0KJERmk1R0+sK40s4FOrnqsGk+zwi/y kIafMwWy3Kb6NhYdEjBAWB9cDO9pjSj/3n/Ql2iwqmh3QXlzvhnzi23bWtWTx0bnjb DQTsup0hoPBalQSfEUYUHTuR3WsVEXDlzSyhu6qyIGftWGhDfmiwWoVaUuV/qvh6Rl SfUUrtEGwqcWw== Received: from x201s (193-104-135-243.ip4.fiberby.net [193.104.135.243]) by mail1.fiberby.net (Postfix) with ESMTPSA id 77C09600BF; Wed, 22 Oct 2025 18:27:14 +0000 (UTC) Received: by x201s (Postfix, from userid 1000) id B23EB2025C5; Wed, 22 Oct 2025 18:27:09 +0000 (UTC) From: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= , Chia-Yu Chang , Chuck Lever , Donald Hunter , Jonathan Corbet , "Matthieu Baerts (NGI0)" , Simon Horman , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH net-next 5/7] netlink: specs: nlctrl: set ignore-index on indexed-arrays Date: Wed, 22 Oct 2025 18:26:58 +0000 Message-ID: <20251022182701.250897-6-ast@fiberby.net> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251022182701.250897-1-ast@fiberby.net> References: <20251022182701.250897-1-ast@fiberby.net> 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 The indexes in nlctrl indexed-arrays have no special meaning, they are just written with an iterator index, which refers to the order in which they have been packed into the netlink message. Thus this patch sets ignore-index on these attributes. =E2=94=8F=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2= =94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94= =81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81= =E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2= =94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=B3=E2=94=81=E2=94=81=E2=94= =81=E2=94=81=E2=94=81=E2=94=81=E2=94=B3=E2=94=81=E2=94=81=E2=94=81=E2=94=81= =E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=B3=E2=94=81=E2=94=81=E2=94=81=E2= =94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=93 =E2=94=83 =E2=94=83 out/ =E2=94=83 inpu= t/ =E2=94=83 ignore =E2=94=83 =E2=94=83 Attribute =E2=94=83 dump =E2=94=83 pars= ed =E2=94=83 -index =E2=94=83 =E2=94=A1=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2= =94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94= =81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81= =E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2= =94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=95=87=E2=94=81=E2=94=81=E2=94= =81=E2=94=81=E2=94=81=E2=94=81=E2=95=87=E2=94=81=E2=94=81=E2=94=81=E2=94=81= =E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=95=87=E2=94=81=E2=94=81=E2=94=81=E2= =94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=A9 =E2=94=82 CTRL_ATTR_OPS =E2=94=82 1++ =E2=94=82 - = =E2=94=82 yes =E2=94=82 =E2=94=82 CTRL_ATTR_MCAST_GROUPS =E2=94=82 1++ =E2=94=82 - = =E2=94=82 yes =E2=94=82 =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=B4=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=B4=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=B4=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=98 Where: 1++) incrementing index starting from 1 Signed-off-by: Asbj=C3=B8rn Sloth T=C3=B8nnesen --- Documentation/netlink/specs/nlctrl.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/netlink/specs/nlctrl.yaml b/Documentation/netlin= k/specs/nlctrl.yaml index 8b4472a6aa36a..753cf1b48c252 100644 --- a/Documentation/netlink/specs/nlctrl.yaml +++ b/Documentation/netlink/specs/nlctrl.yaml @@ -67,11 +67,13 @@ attribute-sets: name: ops type: indexed-array sub-type: nest + ignore-index: true nested-attributes: op-attrs - name: mcast-groups type: indexed-array sub-type: nest + ignore-index: true nested-attributes: mcast-group-attrs - name: policy --=20 2.51.0