🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #4159

Re: [PATCH net v2] calipso: update payload_len when removing the CALIPSO option

#4159
From: patchwork-bot+netdevbpf
Date: Fri, 16 Oct 2026 23:30
26 lines
6457 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 08 Oct 2026 12:28:12 -0300 you wrote:
> calipso_skbuff_delattr() removes the CALIPSO option from the hop-by-hop
> extension header, or the whole extension header if CALIPSO is its only
> option, and pulls the skb by the removed length.  It never updates
> ipv6hdr->payload_len, so after a successful removal the header still
> claims the original length.
> 
> calipso_skbuff_setattr() already adjusts payload_len by the length it
> adds; the delete path was missed.
> 
> [...]

Here is the summary with links:
  - [net,v2] calipso: update payload_len when removing the CALIPSO option
    https://git.kernel.org/netdev/net/c/00accbd9d502

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179219340478.1009070.12393619315617500002.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347564-linux-kernel-netdev=dewy.ru
References: <179147329205.58079.5847298721173675285@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-347564-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2] calipso: update payload_len when removing the
 CALIPSO
 option
Date: Fri, 16 Oct 2026 23:30:04 +0000
Organization: Usenet Network
Message-ID: <179219340478.1009070.12393619315617500002.git-patchwork-notify@kernel.org>
References: <179147329205.58079.5847298721173675285@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2913698"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:HB5zvK5WYzQ8V1vNpHnBT57aV1Y= sha256:NRjihhZTYJPzdPq5X7umVVx1SY3G8nB6lhR33ufu/dM=
	sha1:Z0huXruKLnVRGqFsAxoT3zTSIN0= sha256:r896RXbeE30sMNZTfBi4hD5oLDDK6/HF9tsSkL1xGOI=
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 81A4611061E; Sat, 17 Oct 2026 02:30:24 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.64
X-Spam-Status: No, score=-3.64 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, 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, 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 lEXmJVX4kTdx;
	Sat, 17 Oct 2026 02:30:21 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-347564-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 D13BA1105F8; Sat, 17 Oct 2026 02:30:09 +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 210893AD63; Fri, 16 Oct 2026 23:30:08 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 8019E44470C;
	Fri, 16 Oct 2026 23:30:07 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="frDnzJdj"
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 7007C416860;
	Fri, 16 Oct 2026 23:30:06 +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=1792193407; cv=none; b=GsoyJ/swKnlYdbgpUk+qG+eZnCv7DPAny9OLLYMVp1Wq7Dt/085Zji2Vjyt5Yy2JqSbJeq3EziYfjVWDQ6R7oI6uAXkFhTuVdQVZYXj7bZXngzPQQchbpw4uB7lhqJzTX920LANv9/sb52SVXo3NwyMpsNN3bzDYH8cUYpLZLC0=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792193407; c=relaxed/simple;
	bh=qfX0gFCtvMGWZyUqyCp4lNGvKbaMkYo24aif/B7zlfA=;
	h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc; b=LYx/gIOR0Ajww6okAhlr2DJtxqBarBTHYMASGC8e4l/Qj3eorsVdOzgbu5OjUvbnalkBrVmEjEebT8gjUj1T9gev0LedI110MNQBV9b3VC6YDEjOO4L91N5qTnqqOlNH7iPU8mamRhs2U7pjgOiSI9TaP+pB05ceMTe7U0a0DiA=
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=frDnzJdj; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09EC91F000C4;
	Fri, 16 Oct 2026 23:30:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792193406;
	bh=j1n8z0ONvPUgvfWn0I/qw18tnvb5dO0IA0KouUl3Y7Y=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=frDnzJdj4dJeReQuTKAGAee1e6QBmoSx4mmKjdaAeEyv2l385Xk2Johrl2JuZimos
	 i15GbkvEWF1eap3r4z8QanaXoMeX9h0WjpixgMvoZ2chdHWxJDCvRhc6PDpNquns5c
	 iMplX0fzw2yVzWYIu4vKaGqFYnMXQWQhJhI/zc+sB5aYRp9BcINGTZKWgRDQbSzZO5
	 3Nmhk9AvwLepCYXi9davUXqSaOZ2/FoQh5U+dokyTbQ/KTGK4jLHtbaXsSkox0Igtz
	 Y4Wm9C2TXmD4KslcV8IqYYXSRP1PlQJ239Yf6pmAh5uGZrJWJVhEBPs5F8J6D5KU23
	 TTIroAISi0DSA==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id F1558380CECD;
	Fri, 16 Oct 2026 23:30:05 +0000 (UTC)
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: <179147329205.58079.5847298721173675285@gmail.com>
X-Cc: paul@paul-moore.com, edumazet@kernel.org, davem@davemloft.net,
 kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, netdev@vger.kernel.org,
 linux-security-module@vger.kernel.org, alice.kernel@fastmail.im