Article View: linux.kernel.netdev
Article #5906Re: [PATCH net-next] ip6mr: clear skb->cb[] in reg_vif_xmit()
From: Eric Dumazet
Date: Wed, 21 Oct 2026 07:17
Date: Wed, 21 Oct 2026 07:17
39 lines
10139 bytes
10139 bytes
Le mar. 20 oct. 2026 ร 23:10, <patchwork-bot+netdevbpf@kernel.org> a รฉcrit : > > Hello: > > This patch was applied to netdev/net-next.git (main) > by Jakub Kicinski <kuba@kernel.org>: > > On Sat, 17 Oct 2026 12:42:28 +0200 you wrote: > > reg_vif_xmit() hands the skb to ip6mr_cache_report() as an > > MRT6MSG_WHOLEPKT report. skb_realloc_headroom() copies skb->cb[] > > into the report, which is queued to the mroute socket, where > > rawv6_recvmsg() reads it as IP6CB. > > > > By the time the pim6reg device transmits the packet, skb->cb[] is > > not IP6CB anymore: qdisc_pkt_len_init() overwrites iif and ra, > > and any qdisc installed on the device (fq, fq_codel, pie, cake...) > > or a tc BPF program writing skb->cb[] fills the area holding > > dst0, srcrt, dst1, lastopt and flags. > > > > [...] > > Here is the summary with links: > - [net-next] ip6mr: clear skb->cb[] in reg_vif_xmit() > https://git.kernel.org/netdev/net-next/c/238164201431 > > You are awesome, thank you! > -- > Deet-doot-dot, I am a bot. > https://korg.docs.kernel.org/patchwork/pwbot.html For some reason 'Reviewed-by: Ido Schimmel <idosch@nvidia.com>' has been lost. https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=238164201431a425e48dfcb8e9a59de63caf175b Thanks.
Technical Details
Message-ID:
<CAL4WiirWKxpSGnkY1Udi8kkMhyHEYh=4jir76A8h+dra2uXv8g@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-349856-linux-kernel-netdev=dewy.ruReferences:
<20261017104228.3418775-1-edumazet@kernel.org> <179253060802.212662.8966600542568977512.git-patchwork-notify@kernel.org>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-349856-linux-kernel-netdev=dewy.ru
From: edumazet@kernel.org (Eric Dumazet)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next] ip6mr: clear skb->cb[] in reg_vif_xmit()
Date: Wed, 21 Oct 2026 09:17:31 +0200
Organization: Usenet Network
Message-ID: <CAL4WiirWKxpSGnkY1Udi8kkMhyHEYh=4jir76A8h+dra2uXv8g@mail.gmail.com>
References: <20261017104228.3418775-1-edumazet@kernel.org> <179253060802.212662.8966600542568977512.git-patchwork-notify@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="4056342"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:dZjzQKQrJefZYUQOWz5TfbHWiqw= sha256:KJeqrUAEY39ohF32h+JFG8TUBBHQEcA19wMKJ50vraw=
sha1:pkRV3GTwkF1a/RUECxdFIgIGiHc= sha256:yOs8PKKb7Fsp73iMomazwyVgUwDACrP27PDLuJ5XT4c=
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 06F6B110F57; Wed, 21 Oct 2026 10:18:20 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.729
X-Spam-Status: No, score=-3.729 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.329, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
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=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 57LxVFx71F2t;
Wed, 21 Oct 2026 10:18:16 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-349856-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 9DFF4110F11; Wed, 21 Oct 2026 10:18:07 +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 51EA23DADE; Wed, 21 Oct 2026 07:17:48 +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=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1792567067;
b=DFXdIg1x8WHqvPmmgAQwY2GIUH485WrCj3L440g3GtBz2LGnxlm39YZ1kGfYIntWWeIT
oiJv29M1/UBXBqjQhJMWjCdb0qD/T/kxC7fxa+WrcM21vTilaqo0NHhlJ+w5/GQ4X7O7U
EN0XqQbVJrVVQ4sP4aGmMAVp3ZQ+uAAfOxEQp3SW+04tIxeNNUE6aVsl2QCfMUMZjNw8X
E6xNY6za0rm0iYKkY96svQKfV4mKjJDTDFcwu7KQ2LIMTE6rNRMPdjpspAGsj5xmHAyjZ
UWBske0biZ6hImnOxlf0l4AVl6sGEv8wSp7v4Mq/KiVGqINC8unA0Ttbcllh6sq+iyA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792567067;
h=X-Original-To:Received:Received:DKIM-Signature:Received:
X-Forwarded-Encrypted:X-Gm-Message-State: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-Gmail-Original-Message-ID:X-Gm-Features:Message-ID:Subject:To:Cc:
Content-Type:Content-Transfer-Encoding;
bh=MMgOZgkUteCFlHmZXsf24fsfX17GQD8RIBRAoV75lVs=;
b=Vp5PFL6xoc57IGbBsrx5L/rNsLq14ZwHMdkvwYhIac00RTHcolkXBKe+6YKFb8IUpC6c
zp7XD6ihmhb8ewhEjoTaigidTDXgKIgBUg/kPdNYqANTAa8tteFB/VEcb1+PCD37Cu0/w
A89LSIqLgz0UfoSToxgeqynZg7dqsB4t4tqgrmzie6HOzQAAVaef+D9pANcRjItwK929M
xky9o0lRC3NomVt3NMrEz+Y2KatIJVOtVhzKejYfcNYZtAIhMDhUzq9QbMgZ5vaG2GFE9
/w071twh9ekXzu6F8k+gZ43NqBr7MOugOu0Af4C+vEbLV8ZsKvuoG7oQMXOsxiQhzjQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=feTdqOen;
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 29BB8606A330;
Wed, 21 Oct 2026 07:17:47 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=feTdqOen
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1792567066;
b=rQCXRy6MQVV7OIeIf8yf2II73guuC7DX8604IDkYDf2A9/UG8tJIG0/uDx/qI2dOCiNQ
4jSU4L9NiF7u/jlYGyHNbIujImmYGlNA3MYFlhbBASP6s7zl5QdteVA1UFskh/nP9sV0I
Z90vjoyYVlZPVDrEba7mVUatVoItiYmz6k7SNgOdMGcXJr077k1TnLb/g77qvMn+YKJMv
OHnH6NQqMSZhM+JbfnOaWjx/AUaE0fI4ALo0A8wArnj4P+YG85AMqJYmceVjQH3Q2PhWs
JU3KCPfhQ0Qa4PNO5ypUN8pcfgDAupfuPO8g+4TJtkfyzoLU2qxv9efjwgOsyXNjK1g==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792567066;
h=Received:DKIM-Signature:Received:X-Forwarded-Encrypted:
X-Gm-Message-State:X-Received:MIME-Version:References:In-Reply-To:
From:Date:X-Gmail-Original-Message-ID:X-Gm-Features:Message-ID:
Subject:To:Cc:Content-Type:Content-Transfer-Encoding;
bh=MMgOZgkUteCFlHmZXsf24fsfX17GQD8RIBRAoV75lVs=;
b=AdsLH8YaW8XWsDi6aNJT7PU0lM8Ax6n2a3CXnUTfRa1VxDJKTcCj+63QpKAYE2SGzkUZ
tEWpHS+uHZz484I3sIyoQCEoBALCdHbY4mTpqHoqiyAe8ZW8NDjJtVpK2xW/OAv78g6CR
PgWXN21O7EWc9mpXnL/teZ3ZHjAH5hSSW7IBgrKiu+GitxTph/u1ZHmAsH7Js6fypmUca
AB5aelsGa5lKaK9TnlNZVvimAaCnzzNIy2rFqLuLqWfziz3TcjOBHikldFxEl8ggA6tdm
f9T8vpp/tjDcPcBTE/fTvWas9GJTH2gfjyoVTUHWm0HPaMUxEChcKTZUfyTJVHuTF6Q==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=feTdqOen;
arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (prime256v1))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A7FD606A31A
for <netdev@vger.kernel.org>; Wed, 21 Oct 2026 07:17:45 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78C991F000CE
for <netdev@vger.kernel.org>; Wed, 21 Oct 2026 07:17:45 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
s=k20260515; t=1792567065;
bh=MMgOZgkUteCFlHmZXsf24fsfX17GQD8RIBRAoV75lVs=;
h=References:In-Reply-To:From:Date:Subject:To:Cc;
b=feTdqOentVS2bwAoSATRUELrx2e8gCymxaHDdTGCHuN9y1yRf+T4bhyyNfMjm6aSg
xhh/tWD6Vl6PzLTsd9kwlk7nW26nx1DoQTquSSRIiRr3qq8gVsYsCKD8tMItkhnjTb
HmZtCOwqNNjHwONti87IMVOsHmLr3EtSX/2XW9SGE5dH3OxTX39v31kD/DC4UAXwqG
EXKYPoMGmhv3CG+PveWOz4oPQJ1H/2mX6C9746GoiIedUeUsZbnnx3nr/CBjD/BjpU
Fjbz9Q834gfCY12QmFQ/rZAelgpOjOBn8yHCx1wqeYc9i/tY/4o5MniGeG3NWW9z5t
OmKUKoxTtYmtA==
X-Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-3ab4c608a6dso3612371fa.1
for <netdev@vger.kernel.org>; Wed, 21 Oct 2026 00:17:45 -0700 (PDT)
X-Forwarded-Encrypted: i=1; AKwUvBwS5m7F16nhIij+L1s/knAB27JARa828Ea30Qu6EzdyK6JbCYA72GVO3zPS77CmvgLln4lJpOQ=@vger.kernel.org
X-Gm-Message-State: AFq9FYJ5ZsTpCH3KzilOEuwvshuq/XrZd79I7BqxHBP2C+seSr4Qqh5P
HgsOVysdkfzEp1pO0RmF44eyTpVlbs7uWZbo1pG03aPyUCa1foDYmESF35OpXGI0lUDmp05hdvb
s39fay8o77dlX/Gh87ZbXOG/zQgNXQpw=
X-Received: by 2002:a05:651c:a0dc:20b0:3a9:a9f3:1e93 with SMTP id
38308e7fff4ca-3ac44165272mr2468721fa.10.1792567064242; Wed, 21 Oct 2026
00:17:44 -0700 (PDT)
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: <179253060802.212662.8966600542568977512.git-patchwork-notify@kernel.org>
X-Gmail-Original-Message-ID: <CAL4WiirWKxpSGnkY1Udi8kkMhyHEYh=4jir76A8h+dra2uXv8g@mail.gmail.com>
X-Gm-Features: AclHuK96_QLn7gZWS7cetluTI5BD3tpwUAqq3EFa3exVX7XNiTcbZONe0yaiNs4
X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
dsahern@kernel.org, idosch@nvidia.com, horms@kernel.org,
netdev@vger.kernel.org