Article View: linux.kernel.netdev
Article #27545Re: [PATCH] net: arcnet: fix packet length calculations in capmode/rfc1051/rfc1201
From: Ethan Nelson-Moore
Date: Sat, 05 Dec 2026 23:36
Date: Sat, 05 Dec 2026 23:36
35 lines
13248 bytes
13248 bytes
[resend of message accidentally sent as HTML] This issue was found by (human) inspection while comparing related code across ARCnet protocol drivers as part of refactoring. I do not have the hardware necessary to confirm it, but the original fix was clearly based on real-world testing, and it was simply never applied to these protocol drivers. On Sat, Dec 5, 2026 at 2:08 PM <netdev-bot+sinfo@kernel.org> wrote: > > Hi! > > This is an automated message. This series looks like a fix, but its > commit messages seem to be missing some information: > > - Whether the issue was actually triggered, or is only theoretical > (e.g. found by LLM and not proven at runtime). If it was triggered > please include the symptoms, like the stack trace or kernel messages. > > Please do not repost the series just to address the above. Instead, > reply to this email with the missing information, so that reviewers > can take it into account. > > *IMPORTANT*: If you do repost (for other reasons) - please include > the relevant info in the cover letter or commit messages. > -- > The evaluation is done by an LLM so it may be wrong, if you think > that is the case please reply and explain. -- Ethan
Technical Details
Message-ID:
<CADkSEUh47q6Vsq5P+o-jWz2JUfwsDM-R8ow05S0rzedPLYQM_A@mail.gmail.com>Path:
mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-378180-linux-kernel-netdev=dewy.ruReferences:
<20261205220304.399676-1-enelsonmoore@gmail.com> <179650849788.3307.7597125778374170796@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-378180-linux-kernel-netdev=dewy.ru
From: enelsonmoore@gmail.com (Ethan Nelson-Moore)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH] net: arcnet: fix packet length calculations in capmode/rfc1051/rfc1201
Date: Sat, 5 Dec 2026 15:36:39 -0800
Organization: Usenet Network
Message-ID: <CADkSEUh47q6Vsq5P+o-jWz2JUfwsDM-R8ow05S0rzedPLYQM_A@mail.gmail.com>
References: <20261205220304.399676-1-enelsonmoore@gmail.com> <179650849788.3307.7597125778374170796@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="3143924"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Zxerf8fYAc56Qc1pNW3cLRvv3z0= sha256:Iu/6ldUDbCmBYaojbrC8a9HfPk4rKKiSC2/ihLxw1BA=
sha1:sd7XBev4IRiZIyxbiMRBrZ1CEtg= sha256:2yQoOkqN+LGB9B2Ya8lxsHeHkfU6YAwBM1/yUyLKrLY=
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 B3FB9117EEB; Sun, 6 Dec 2026 02:37:13 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.297
X-Spam-Status: No, score=-3.297 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.001,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-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 M8WFgQ7tXU7s;
Sun, 6 Dec 2026 02:37:11 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-378180-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 F11C610E0E9; Sun, 6 Dec 2026 02:37:00 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id BA30A27FC6; Sat, 5 Dec 2026 23:36:57 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1796513817;
b=EltJl4JzpScZM5a7pv2ScUMGx0gvZstpPnakFI9p0bontf6du/htCDvv1CPgKWoVdPM6
iheY9K0w23pbCnQA/Eya+FyFV+HWmgqV411CeNNJeoDWyD1cH9TVPx+7VklnuHPz7tMqC
DTEb3tc+i0h1Cnx5NBO/kTLFEq2k92PyGRJfClyUTENJ3mG8vYSqLnxZOW6q/zGYr/5GJ
pE86+dRdMGf8GHt7tiSBU6Njw6m8P6KexehFjnp7KUcpT1tvNqn+5OE1iiI1zenVinJNS
v1egUK25ubs9rL4h+3Gq88itA9tN5SMgyP8Ki7BF4O2vL5bnq6+G6eKbhbIkXFJqZNw==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796513817;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:References:
In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:Cc:
Content-Type:Content-Transfer-Encoding;
bh=tnj+dh7QOpTQdwo4ftri+Dlo2YTsD9yqTB645Af8wk4=;
b=a74Iaey9T8kUHLoES5o9DUKAGjOh1gGCH0M9ojOsmwljk4OjDPPXyouj0ic9T3x8yuTY
RkVF6D8kLOj3JWURrO4mD8n/LDVN8S9YnbUNlVIh5qdVw19rdWJLSI4VeXrvFHRbo6A1o
qArx8lQj1GyOWGx7Czmgko+KeX/+kWcGI1BOMhWV73XtQ0CrCE6Hj/GJw+ImPx5GAWREG
sKqznTkb/kV+0du5oiteFPKE6ejJbOY0tIthX2LImkQ2ofL9m9ovPe5TeHG4JdUHr3wq+
EqLoUM2n2gSAklJ0T/OBkiVTlnatKRatdEzoRozttfEJf/YZl7Pl4TQPI4yt6ulpCEQ==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=S+QKvD71;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 86375606A334;
Sat, 5 Dec 2026 23:36:57 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=S+QKvD71
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=74.125.230.137
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1796513811;
b=Ugd0ggM5MZHuC8YSeZDhsSpsRsa4I+7WkCVoCCYHBqTcIkppvhjzcJ5OaLsWrZqh3z7o
7k7rAB2Fiz/nyWvcukphkO7c2Xg5EA3zGabLE4u8wK5AtghNJd3UA6+mv0F5dXlRuewtr
Ff085gObwTB0IfAtMCUg3/41ccvOF0ZbcbpVxBmPTs2pdKhdEE7+16+qihZTIlHX6g0RU
FYD6x9X1zLAckvXLZXFloktGX+ZBQ6cEGKi0YLUpxexKjbvUOfRzPvHPNpK/c0Z6X3Za9
tbLxu2Z/FaRUvgx3I0/l+BEm00MsUsKs/Nw2qvgp0Q0gaFuU5JxDyiv5mJqUQtOMtpA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796513811;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Gm-Message-State:X-Gm-Gg:X-Received:MIME-Version:References:
In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:Cc:
Content-Type:Content-Transfer-Encoding;
bh=tnj+dh7QOpTQdwo4ftri+Dlo2YTsD9yqTB645Af8wk4=;
b=IaV3EXqh4t2uYLBwcunq7bm4fPMUJ6kY0HS6187m9sPSHVRD5EzCQpliupTtjKdfixhP
4Cnon2O43D1czrEO5OUrA5Qg7QmvkkJaEpUAew1iSpCpwEAHXZQALqElGGuoTwfrizxbk
BDg7GDRbr86MgyMwNLoQGr02rY5UiI48ex0JLE+xNPWgyRJ0B550PrdLWf0oCU+pvynXb
GmHRECDvcLbXcZ98KejyTxNPXh6lunLZFH163A0qvSecgDaaOiBzGqj43p+mwDqsCcPc6
zi4gmcStgCAgMzfMGLxEOSv/Gb4q9WXH34RqkSdCGOr6tQvnEACrHx8Zvt8ncmlWjlA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=S+QKvD71;
arc=pass header.oldest-pass=0 smtp.remote-ip=74.125.230.137
X-Received: from mail-qv2-f9.google.com (mail-qv2-f9.google.com [74.125.230.137])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 568CE606A32F
for <netdev@vger.kernel.org>; Sat, 5 Dec 2026 23:36:51 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 568CE606A32F
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-qv2-f9.google.com with SMTP id 6a1803df08f44-92116014bf5so23859976d6.1
for <netdev@vger.kernel.org>; Sat, 05 Dec 2026 15:36:51 -0800 (PST)
X-ARC-Seal: i=1; a=rsa-sha256; t=1796513810; cv=none;
d=google.com; s=arc-20260327;
b=i97U7V4Tzwr3m/Lxv0/50VK3sQ7EPYl2LzhlIn+0n7ICYQdWZERxdskDA0dgRPpYOM
K1nXcqgAml7jmQ0hdfiHc2Jbv+5VEcQdkdGNlz52hI5Ey9Scl911FdeCrtnL2pqbbOSb
YkB6z61t/XZbjxI0MJT4ZRH02lxBh+1uDqzEfJMLJa9qPxe+5kaHO5DLaR5YZxq1+9tH
qQmzzGYXcszNtlJ4s84ICrlPIZFQ/87+yKk2pAQnrlZd8xcyL/tnIvr7aPha4BrdOXS7
UoeH4xEmms0iW6lXYfh9av1VFvAEIm+QfFfLd4SWUk0j5joWYlKecnEqyHCxTTUGwl9W
Yj/A==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
h=content-transfer-encoding:cc:to:subject:message-id:date:from
:in-reply-to:references:mime-version:dkim-signature;
bh=tnj+dh7QOpTQdwo4ftri+Dlo2YTsD9yqTB645Af8wk4=;
fh=Yk0fOXaARS/Bgsr9LPGKM25qz9PExq94n++UnW5QWgo=;
b=ooET7dVlmyMMj3oZxkzuYOvj92ydSV0rWULyc3Z1GaAgQZEnxXhvJSliQxjwApJbW9
qdFYqVhBrPaDsAcGfnqZFoAGHoqVe5fuiOEnEYlJLlL/a6gnZbXxwszmR051o3kN4LJh
BiUeMY568HA6JtKmRiboMhbufZ5l/R/Qj1l/u+v8yENGB3h6Ov/OwiIX6+su9oUXyNPo
KqMQINaJiPWM0wo/Vf2gCQg/zdWTTxhFa81edeTmfOyDpFJydl52k4V5uNvK0D7dhbEs
t+BN5doYz7JuPDGXx7zuyvVpXJ4JwyZiRvOVr8Z6YjVpnLogf2QH2hCMIu5jjgQ/znmr
pqrg==;
darn=vger.kernel.org
X-ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1796513810; x=1797118610; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:cc:to:subject:message-id
:date:from:in-reply-to:references:mime-version:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=tnj+dh7QOpTQdwo4ftri+Dlo2YTsD9yqTB645Af8wk4=;
b=S+QKvD71GFn6Vddyd5cmTMpPnrI6JLvLEXhjP7MkL+NUUjPMNs+fYn9aptX3etFuMi
YJeruryxBYnafScvE4Aeah2C3etZVVuanQQcgMCNvecAq05YA0OYMxmUU2lIXu0SZBDO
oRsRgwGQYe2DUh2wWuZepKLc+g6Ztw1g1BJf4rZ9p+ihlja0lKuofJnMM2ZRo8uhRgIW
aa0rEay+pBwI14WnTz5Atm0kiCbH8ZQDcteQOJWxYKjeJd/6WW///+V9c7jbbcng6+Dy
BC824cMeAUUbvX3pEZZ6SfqbDqc4iHpKd8OaJIbbTymffCa8u2gVe/62aFnAkI11gQdx
O9aQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1796513810; x=1797118610;
h=content-transfer-encoding:content-type:cc:to:subject:message-id
:date:from:in-reply-to:references:mime-version:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=tnj+dh7QOpTQdwo4ftri+Dlo2YTsD9yqTB645Af8wk4=;
b=R2xwRVX0YyUCBE3Z4o/Bv42PZEsj/v9Q57Clzpr3u0uOpTo70MO9jQ85kRma4h7b93
wRaGmkTlxMH7lLYWB9CKjwgzQFfBplRhhoI5PZwnvnIYYHVdDGfvwGwgdqRi1VWOGZxl
4tVyd+LtQ46MA0X/pBARwTFpU7ocyyFvUjz5z6nK0a+v4RHsh5kRC/oy1z81eWR+2v6x
ZgHTL6pihKH+8RmIpVwiMkY9YKDpbvch6r086byt6R4waZrK13RZbky+0W37/PYxHbrn
Rrm7ptTUml2ubugxCyavmoM0YRoYenExCOZoEjS66gqJ79Xy+SmxPIQPLjT9onokuw3N
PzlQ==
X-Gm-Message-State: AB4q+uEZQVIqffJ7p158QUQKtDwTB0EI1KcLOXVhhekqVGqyE8JCpB5g
nvwM/KjCV/PhFgJS7tkCQZmsTp8ygpK80JRBi3K39pKw5z3+lCYuaqvZhn0/6esgTOtxrRsL4XQ
TPjBalVdVhfpg6onXSAm4Ot9Gti6b2As=
X-Gm-Gg: AZFdTZfq0fnGVR9dxDUjh/EeWiajbq9cE4N6vw28EAwZayEmDQhTsucGNtKXCxCo98z
x5bUi1v//f0AUZBoE7Y74FEW8Tyw7NfKAfhCCriH0H0buE224D4BDCDxSPhzKa65rRcIE/EOHom
ZELeXNbHp7d3l9dZC5PR4bUKVdh6Xqc7dnl4PLO7Uu55rG56Q7g5+5KPmgraNG9AOqIZ+w2VvNr
B+tzZhRFQGC6SFtApd1W5b1p61yNJF0xPPZIE9h+XNq3Di3OJPuJcf8H8GlXUkcNFJExSMqZ0KC
G8/MmJJtHGl5AiXKehJ4I06PsPAYgbQgc7gw0n7OmWvIuKQgC3d0seDxmHs8kx+SbxnzsATUKpi
7w6y6tnmGKPbrYyK9PhR2rDTYKNQSCRnH+jF7gCSfWskOJYwJLqoSOOmAKqi6xJ+pChNmPqdUrv
dsRswDDziyrJXHnpTacmMXbA==
X-Received: by 2002:a05:6214:5094:b0:921:d069:4ee7 with SMTP id
6a1803df08f44-921e2676b3emr99206886d6.45.1796513810311; Sat, 05 Dec 2026
15:36:50 -0800 (PST)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <179650849788.3307.7597125778374170796@kernel.org>
X-Gm-Features: Aa3M54oxidh2qco3OagA5pi9e9TxvZbf1DH2rrZBw88Byg742PB85djqDwT4d7g
X-Cc: netdev@vger.kernel.org, stable@vger.kernel.org,
Michael Grzeschik <mgr@kernel.org>, Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>