Article View: linux.kernel.netdev
Article #1541Re: Request backport of bf5a54bc0e3d to 6.18.y
From: Anton Danilov
Date: Sat, 10 Oct 2026 03:59
Date: Sat, 10 Oct 2026 03:59
44 lines
9971 bytes
9971 bytes
On Fri, Oct 09, 2026 at 03:36:42PM -0700, Rachel Menge wrote:
> Please consider applying the following upstream commit to 6.18.y:
>
> bf5a54bc0e3d8962474fcd611f1266eba036232f
> doc/netlink: netlink-raw: Add max check
I see the same on v6.18.55: rt-link-user.h fails since 6.18.53 and
rt-neigh-user.h since 6.18.54, and the in-tree cli.py fails the same
way for both families. With bf5a54bc0e3d on top, make -C tools/net/ynl
passes, and the generated rt-link and rt-neigh code is byte-identical
to a build of the same tree with the two checks hunks dropped.
> I also checked 6.1.y, 6.6.y, 6.12.y, and 6.19.y. Those branches do not
> contain the rt-link.yaml and rt-neigh.yaml checks.max additions that create
> this mismatch, so this request is limited to 6.18.y.
6.12.y is affected too. Since 6.12.111 it carries 45ca9f59b6c7 ("net:
reject oversized tx_queue_len at netlink parse time"), which adds
checks.max to rt_link.yaml (the file name has an underscore there).
6.12.y does not generate C code for netlink-raw specs, so the build is
not affected by this one, but cli.py --spec rt_link.yaml fails with
the same ValidationError.
bf5a54bc0e3d applies to 6.12.y as well. The 6.12.y YNL build has been
broken since 6.12.93 by handshake.yaml, so I sent a 6.12.y series that
fixes that and includes bf5a54bc0e3d:
https://lore.kernel.org/netdev/20261010035116.578385-1-littlesmilingcloud@gmail.com/
One more thing for 6.18.y, not a regression: conntrack.yaml and
nftables.yaml fail the schema check since v6.18 itself ('labels mask'
and 'set id' do not match the attribute name pattern), so cli.py fails
for these two families. Upstream fixed that in 1adc241f3940 ("ynl: fix
schema check errors"), which renames the two attributes to labels-mask
and set-id. It applies cleanly to 6.18.55, and with it and bf5a54bc0e3d
all specs in 6.18.55 pass the schema check. The C build is not affected,
these two families are not generated there.
Tested-by: Anton Danilov <littlesmilingcloud@gmail.com> # v6.18.55
---
Anton Danilov
Technical Details
Message-ID:
<20261010035930.579535-1-littlesmilingcloud@gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-344033-linux-kernel-netdev=dewy.ruReferences:
<899bd843-fd19-418e-8913-91bfb6e760a2@linux.microsoft.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-344033-linux-kernel-netdev=dewy.ru
From: littlesmilingcloud@gmail.com (Anton Danilov)
Newsgroups: linux.kernel.netdev
Subject: Re: Request backport of bf5a54bc0e3d to 6.18.y
Date: Sat, 10 Oct 2026 06:59:27 +0300
Organization: Usenet Network
Message-ID: <20261010035930.579535-1-littlesmilingcloud@gmail.com>
References: <899bd843-fd19-418e-8913-91bfb6e760a2@linux.microsoft.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="1251723"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:UDjUUTQHcTJxC+NQsde2jTgI66c= sha256:uQ0XV8qnX4bLR2JWGYhDeJ7zZSNlNL+FJCKv1rxTFEI=
sha1:Wov9dCPiC3PhPtL8oANqVXzQOXs= sha256:D0E8zYQ34/bm1nCvrVgZ88VXirKfH5Hck3+3LNMaJ7U=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 5E5F010F836; Sat, 10 Oct 2026 06:59:56 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.748
X-Spam-Status: No, score=-0.748 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id tbJmlMffZOJ9;
Sat, 10 Oct 2026 06:59:52 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-344033-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id E71AB10F587; Sat, 10 Oct 2026 06:59:46 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
by sea.lore.kernel.org (Postfix) with ESMTP id DB42C3FD36; Sat, 10 Oct 2026 03:59:41 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id BCB433909BF;
Sat, 10 Oct 2026 03:59:41 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="sfu5+dyU"
X-Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3FFAA38E5C4
for <netdev@vger.kernel.org>; Sat, 10 Oct 2026 03:59:38 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1791604781; cv=none; b=Tw43WPAnyKM7MYX59miwTsmlxnYQwUJRCLMiXHRN94K4JUGStIY1z2c4QrbRJgiYKJ+60LpYM0ZmFV+MXVZxg03NkylMqGe0ZxpsOMugGjfe4iCgmcRvExz3wNOAgXgvZNecrNgk67xbaWqdBvThmga7A2W4ZdlNtZMspenE9XM=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1791604781; c=relaxed/simple;
bh=9uUi7VJXnnwjCj1byg6atdUf19EY7e7jPvxXvAjDn64=;
h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:
MIME-Version; b=TcDyuLw7iQ1PXbttObscVLj20QNYigxyCySPT3p7Cvl/5C5xhQ1bLkV1ippxykTgAvJkmNuYMIuEXB07JHKNpLZ/CWWYrOoeisHMNVlUt1t2gbtYrBMznios6wGVIOsUvV4yiOxlCvFe+nifjW9QUtlbk/3HlKCyPcqeOntoSOo=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=sfu5+dyU; arc=none smtp.client-ip=209.85.167.52
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-5bcb440d1cbso135902e87.1
for <netdev@vger.kernel.org>; Fri, 09 Oct 2026 20:59:38 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1791604777; x=1792209577; darn=vger.kernel.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=9uUi7VJXnnwjCj1byg6atdUf19EY7e7jPvxXvAjDn64=;
b=sfu5+dyUDHXDvz3azDLkeRnGDawVUJLLtp6CtzXI0ROEBzfQy50IeTJ0XSHo1r6Ygr
wJU8fypLXpYKd3Dd2y9/JHxzmM7NjULIvA7QzWVLxmjdNIz7vyxjvupPYSM7qAZFVOeF
yvklmdtsHLR9AGwMC/SfIU5rITyFwFuAeEaBbFLGn7113sbRAvttFIBJ20GCQrDKhueA
yjCNkjvpNKJ1XNyn2N243Ey8M5Ygu0Wqe5G05g5twflK30ekY70X6C+8w791EgGSSxy1
Loh3xxi3v+ouwWtc0i9D6JjIQN0N6mDjzgDDL6A4tlk1H8b+OOqTxVhfOAp0TnW+4S/A
ZLmQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1791604777; x=1792209577;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=9uUi7VJXnnwjCj1byg6atdUf19EY7e7jPvxXvAjDn64=;
b=s5jYosQQhi6AsMrxPGJKNzw4AMScLE6PYBDICpZkRyx7cN3Zvm28xcjpt54L+1TaK3
PmqIYrF9D+eswDbbytIjKIgG8N8NJsyvChW8GoyhPaSnBgfScCc+ge7Y02d7v4STfMid
rvMO15DOGHdF3YsKHJuZb1Ajq4mU+1TSfvPW9Vgi38Pzk8tI89kmesHKDJXhQSnZeOi2
+yagc8ZWDdMEBWhJ1aiFhzAgBoY1o0d7L98/04X0gfgjc1bp8UaJKmucYwWn/wgEfNZ8
dBNBSiQiflm8hlufq00J1DVZ4hyPPgey3R8oYHpDKqyI4mtmLP3FYh37AJJTlxQp2wFf
UqBA==
X-Forwarded-Encrypted: i=1; AKwUvBxttTCtz5gRhWOBje//nkocxCDoHHCZ7kiQZnpZd3DZLMQwpvuM9gpeigBX8svmjJZ01l/T228=@vger.kernel.org
X-Gm-Message-State: AFq9FYL1+NusZV3SHIT93Dkge65gI+AbsoE77htjSxnpvcsqDiu/1ElP
VXyhEJ5hfmTQhel4T9Mw3zPUWqG5+3gSw1UM/s9zgeM4NeCmbhWW6QR2Z1oR++DbSnQ=
X-Gm-Gg: AYBFou317OcJRiA57hlIPaF6zowNww74YceSUFsFlndpye17nG9QY+HI17O0AbhAAZu
NvH8IOAeiOHS1vF0yp1ZTZmKatRbymwinAbAhJljQQXkbxslv8c/JUw779ZMbKWhpPoLkE2PU2m
teZPLqkJq8AcR/FRJ5+tcqJro9NHXisoseDU546QBXaSUKV8v3WJ1lFj2kfnkkVo326qe+ztYTd
naoe87e54JhC16geFsqjg0XYNVVXvAK4Nq0KelD7vYYJKA9LgRuzpWs2nVvgSwdT2mnuXeGo+2S
6IMDFLDizx0BxQdKE4SzIi55Q3VI/uH8Tiqbvgq53XrKHUziJpesSjaI7psPf62thIxZQR+A1it
EgCLnSQ18/Bbg8ZT9uwZJiShlUNH4jqHXI6Kg5bh3beYq5ExhIK4eUYLNpFvW2ILlR91NdVZH/1
X60XcrWIe4Q8n1Qr/ILBIUC+SjmxsUEwlLsXUeejwR2szHw/H+hq86RYxo/zYUj799LDAE9Mw0N
AKlwbOjXwyoHdvJ6MDqRrncRz/7EbQQ3GHPI9tagWA=
X-Received: by 2002:a05:6512:2315:b0:5b8:f955:29e9 with SMTP id 2adb3069b0e04-5bce01aacaemr904126e87.7.1791604776835;
Fri, 09 Oct 2026 20:59:36 -0700 (PDT)
X-Received: from dau-home-pc.. ([95.139.131.22])
by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5bcdde91281sm1164909e87.19.2026.10.09.20.59.34
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 09 Oct 2026 20:59:35 -0700 (PDT)
X-Cc: stable@vger.kernel.org,
netdev@vger.kernel.org
X-Mailer: git-send-email 2.47.3
X-In-Reply-To: <899bd843-fd19-418e-8913-91bfb6e760a2@linux.microsoft.com>
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>