Article View: linux.kernel.netdev
Article #2728Re: [PATCH net v3] vlan: restore HW VLAN tag insertion with reorder_hdr off
From: Eric Dumazet
Date: Tue, 13 Oct 2026 10:32
Date: Tue, 13 Oct 2026 10:32
39 lines
7604 bytes
7604 bytes
Le lun. 12 oct. 2026 à 14:11, Jan Čermák <sairon@sairon.cz> a écrit : > > Hi Eric, > > as I wrote in [1], the bug also affected cards using the r8152 driver, > so I used that in my setup for testing. > > I applied this patch to v6.18.54, which was previously used as base > for testing, and I confirm the issue is gone, and the VLAN interface > can be normally used. On vanilla v6.18.54 toggling reorder_hdr to off > triggered the issue (even when the VLAN was created with it enabled), > so this step was enough to verify the regression is mitigated > kernel-side, so: > > Tested-by: Jan Čermák <sairon@sairon.cz> > > Previous v2 of the patch was confirmed to fix the issue with r8169 as > well by hitchin999 in [2]. > > Thanks for looking into that! > > Cheers, > Jan > > [1] https://lore.kernel.org/netdev/CAPa5EdD7tFRyDztEanTwQXTzVEE8T0FLkbXAtWxUcGGaLYt_bA@mail.gmail.com/ > [2] https://github.com/home-assistant/operating-system/issues/5019#issuecomment-6065756866 Unfortunately netpoll was in the way, a v4 is needed. https://sashiko.dev/#/patchset/20261010145106.773639-1-edumazet%40kernel.org pw-bot: cr Thanks.
Technical Details
Message-ID:
<CAL4WiiotF1AC0biFb11Oe60eyab68jr06AZCPoW+d=4_eaLAKQ@mail.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-345549-linux-kernel-netdev=dewy.ruReferences:
<20261010145106.773639-1-edumazet@kernel.org> <CAPa5EdAioOoMNj+kH8+Ko822tSyLJL-CxpXr3Q=ZWx0jwFNdOA@mail.gmail.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-345549-linux-kernel-netdev=dewy.ru
From: edumazet@kernel.org (Eric Dumazet)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v3] vlan: restore HW VLAN tag insertion with
reorder_hdr off
Date: Tue, 13 Oct 2026 12:32:16 +0200
Organization: Usenet Network
Message-ID: <CAL4WiiotF1AC0biFb11Oe60eyab68jr06AZCPoW+d=4_eaLAKQ@mail.gmail.com>
References: <20261010145106.773639-1-edumazet@kernel.org> <CAPa5EdAioOoMNj+kH8+Ko822tSyLJL-CxpXr3Q=ZWx0jwFNdOA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="2027843"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:dktWiS4RqB2vMwcGgW6XsJlxqrQ= sha256:So/t/2MCMPfnC7Vj/uZ2dsEqRrRevuyESqQ/cqpKv7A=
sha1:8W4CK5GRxZ6biUHTm18QYt4Ewnk= sha256:xyrDLUaZ7x+1L9DMnmK52ZBz7lasQ4z4iNzpFlfX11E=
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 02B4A10FDFF; Tue, 13 Oct 2026 13:47:42 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.44
X-Spam-Status: No, score=-1.44 tagged_above=-9999 required=6.31
tests=[DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1,
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=kernel.org
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 B4IlzWkamzw8;
Tue, 13 Oct 2026 13:47:38 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-345549-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
by mail.dewy.ru (Postfix) with ESMTPS id 0EB3B10FDFD; Tue, 13 Oct 2026 13:47:29 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
by sto.lore.kernel.org (Postfix) with ESMTP id A5A9A608CA7; Tue, 13 Oct 2026 10:36:11 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 13CED47044E;
Tue, 13 Oct 2026 10:32:30 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QPOfgVo1"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
(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 EFECD472F7D
for <netdev@vger.kernel.org>; Tue, 13 Oct 2026 10:32:28 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1791887550; cv=none; b=HhQJirhf1vpY3emv/QfjnMHK3T5pk22rLAL2kY2QotOUD1QW36sVnuYPbILFt69VPLzpKiOLAbiELCvb0qHLbybyGBgExMwF5xCO3UHUa4P97cCEY2+orysMgz2Psukg0jMAKGMUCaB6m1ihi/9F4R2fLQtPSIDzbt/EQaIFAR4=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1791887550; c=relaxed/simple;
bh=VtktllvjbtSgq5BOhRgJ022ymOm4v3tR5dDr0y7Fl0A=;
h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:
To:Cc:Content-Type; b=tBYKXTnTFeEYW36KhL8sMqDvRzSKzJVbXRdsoSNdFwPN+SUhKVLBzIHz8UJpYDBaxgwczlAoZK+BCllvp47UMyKEBTyM1xlOw9zE2g0bxypr+2Gf8aMm4Y2K7iWi7cCTDGaSpME4TVus+BLwTNYVzkZ0FNjjG5La9qIGFjXMTPE=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QPOfgVo1; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8198E1F000FF
for <netdev@vger.kernel.org>; Tue, 13 Oct 2026 10:32:28 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
s=k20260515; t=1791887548;
bh=VtktllvjbtSgq5BOhRgJ022ymOm4v3tR5dDr0y7Fl0A=;
h=References:In-Reply-To:From:Date:Subject:To:Cc;
b=QPOfgVo1jLHKciL3TpUGgwTNjE3fE5wahnQ4v4vlFmfSTLFyis2uNbtImvWhwjNzW
DXPdNDYCZZCmOYnmEgrtC40EmvU6ALLTCH+Paj2mmKBg93E7JSRoYsbjFSTnyTjWNb
QNSSBFr1VDOCfFRgykVhibuxH+B+dnpV5D3ywluwhQYaKTB4BeRe0aawnt0xBl3sN6
PVdIX/HtPiri6KOOYykTVYQXZnsptsspH3P8ZLJkJ/weglJNEJjPVPpqzJcUCGeEi3
bFYeB0frRp14vMGJWjV5yB3bok9bRBBOnJmMD26wyTFWCwNzZWam1/NpB0iWc47VFA
ugFx1cEZs0tOA==
X-Received: by mail-oo1-f51.google.com with SMTP id 006d021491bc7-6c1983dfaffso2082660eaf.2
for <netdev@vger.kernel.org>; Tue, 13 Oct 2026 03:32:28 -0700 (PDT)
X-Forwarded-Encrypted: i=1; AKwUvBx5Gi6xvrQ8qRVkjhJNMMzEuEb5azxfHVQcaK8Az7zpCMkKlSlNBTTfu4n/OXmp4guIGyk7ly4=@vger.kernel.org
X-Gm-Message-State: AFq9FYIjyJwijFStYHEzGoV9apuD+yvMZGADLJ+dBpmAXWcqhnSLoIFg
i/1C0mNp0N14HutkicuIYv3me0Tp3cvEbPr4CQItW1WZxej40Q6Hz0zhqQdR/mypUsJtwgoDg/J
L4L5pFusfAst+la9LYLIB0bw/mKHxaKE=
X-Received: by 2002:a05:6820:4b91:b0:6d9:f92f:5589 with SMTP id
006d021491bc7-6ef0e5e6aeemr9767637eaf.47.1791887547790; Tue, 13 Oct 2026
03:32:27 -0700 (PDT)
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>
X-In-Reply-To: <CAPa5EdAioOoMNj+kH8+Ko822tSyLJL-CxpXr3Q=ZWx0jwFNdOA@mail.gmail.com>
X-Gmail-Original-Message-ID: <CAL4WiiotF1AC0biFb11Oe60eyab68jr06AZCPoW+d=4_eaLAKQ@mail.gmail.com>
X-Gm-Features: AclHuK8Mi_eEZre3qSg4v_oC-OSHho0rLrn9zCCHj8QarA9uUK5Z0-R3-dXUHXM
X-Cc: "David S . Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>, netdev@vger.kernel.org,
Stefan Agner <stefan@agner.ch>, hitchin999 <hitchin999@users.noreply.github.com>,
Heiner Kallweit <hkallweit1@gmail.com>