🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8731

Re: [PATCH net v2] seg6: fix transport header for inner IPv4 with IP options

#8731
From: patchwork-bot+netdevbpf
Date: Fri, 30 Oct 2026 00:10
35 lines
9586 bytes
Hello:

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

On Wed, 28 Oct 2026 18:15:11 +0100 you wrote:
> The End.DT4, End.DT46 (its IPv4 path only) and End.DX4 behaviors set the
> transport header of the decapsulated IPv4 packet at a fixed 20 bytes, the
> size of an IPv4 header without options. They do not validate the header
> length either. With options, the transport header points at the first
> option byte. The effects include:
> - ping -R sends an echo request with a 60-byte IPv4 header to a local
>   address through an End.DT4 or an End.DX4 SID. Since icmp_rcv()
>   computes the ICMP checksum from the first option byte, the request
>   fails the check and is counted in IcmpInCsumErrors.
> - A UDP datagram can reach a port that an iptables rule drops. The rule
>   checks the UDP header after the full IPv4 header, while the socket
>   lookup reads it at the fixed 20-byte offset.
> - With an inbound AH state, ah_input() reads the AH header at the fixed
>   20-byte offset, but copies the IPv4 header over it with the length in
>   the IHL field. A packet shorter than that length can make ah_input()
>   write past the end of the data, into skb_shared_info when the skb has
>   no tailroom.
> 
> [...]

Here is the summary with links:
  - [net,v2] seg6: fix transport header for inner IPv4 with IP options
    https://git.kernel.org/netdev/net/c/5838f10563d5

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179331900509.763714.8850893492667145645.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-353522-linux-kernel-netdev=dewy.ru
References: <20261028171511.35-1-andrea.mayer@uniroma2.it>

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-353522-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2] seg6: fix transport header for inner IPv4 with IP
 options
Date: Fri, 30 Oct 2026 00:10:05 +0000
Organization: Usenet Network
Message-ID: <179331900509.763714.8850893492667145645.git-patchwork-notify@kernel.org>
References: <20261028171511.35-1-andrea.mayer@uniroma2.it>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2129172"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:mSq1FOTDaUsYVtbpiwhHKpCrlvo= sha256:DCx1+VX35RSiLUbfZ7t93Lu8A1reUD7MBpJGLpL3fGk=
	sha1:y8d/1hYPP3dZwYngRlUomE8A8r8= sha256:Q2C1lSb/Jls6fG0Ptor4FlxQ3ONTSpjSRUOb1nK8WpM=
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 0D48F125C7D; Fri, 30 Oct 2026 03:11:35 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, 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 jUtfSU1AsPrO;
	Fri, 30 Oct 2026 03:11:32 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-353522-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 7C054125C6E; Fri, 30 Oct 2026 03:11:22 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 1CF8025143; Fri, 30 Oct 2026 00:10:14 +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=1793319013;
	b=s6BJRoSQG43r439TezpQ+nAHA8Qe7KSknKHzPg4XVM4Jq+zmGJVd0sQfgtn+Spa1JgGu
	 pjBe5C/yU+MIPJJnLZjEB0k4n2C0RXR74ukVGqvIubLj3Doy7yPIL1hUiaQh7aqs4vjz0
	 GjpKLT9VqYU1oT8z0QTU1yro0OxtFH8pz+x4c3bN9yxu2yg7trYJUFCi7Xem9ouIj/VZk
	 J20mjXwXivEZOdA3XV58Aayg8gdTnyKpWLeniX5gQDLkJFk77AMtWmsFSTdAGr5wC3D7+
	 Jbm3hVZGC+IBNShDdhPjIaYyD/XYSKNty3qeJtYR1ncctrqHHgL9ZN/n5RuYOtZbD8g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793319013;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=pWoNgUMhu7f6Bg0gcQhal7eYxCy9+QMlzZwQNSLvPzI=;
	b=B60Y4Oa/OJzjlwWv47zHQSbgg1oFGE/okNrqB47ZpfVOkQ60epcTC4qcFbGiPCAOiJry
	 VQZ62DRR6/FHRsirl93A7N/PzlIHFPSo52j7DwZF43E5ZlEwbziG3oNGcoPBOWrsp9+6p
	 uViR9Dr+idbbQ3lg8wvlvba4dDYhkcIoP90I4eo1L7PMhiFKoX0oJjsoNo37VhsOMmEXi
	 tbMnNOV9HYYBuvU3Opl9u72jawYPCw2wNG7+Kl9dtaBRW3KsJ/aFTDAZdjLcpDyUmIm2h
	 2GrJQ4yakjS94FZGp9iALoePlDSngqDqd2Fb5G5TbQuVc1dNoCk7TH4LXZFaePdM9Fg==
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=R+eGMUb6;
	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 1DB90606A321;
	Fri, 30 Oct 2026 00:10:13 +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=R+eGMUb6
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=1793319007;
	b=k+7B2pJW9zRvTZ9DDlhMffKvinatWCmm/14xNJheZJpc8TN7VfI9ZEt2pHX1BYWe81QM
	 sAfr2K7fwMBE+/ujHyecER501UER3SmWxKDTRyz+2GdFyCRlGAk6+n5UqssNNYeLq8Shm
	 fLv9Ap+GmGid9j2c2GphKsbUBYAU+lLD5ljishDCye4Rwcs/wEpmqVG9NiCHd/BxE8riT
	 aOt7GvgqePajnl4G8ml02Yi6Xnx6xArMMbsT/a7RQe+KdmjKdeM+0BNRoGnoHT5m/U3HF
	 aqt1fJFCAlrBbNoa2bllCXu3losqDf0cRt8X5K0gSfT8VH/DSJG/xCTYm4peMxmIvcw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793319007;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=pWoNgUMhu7f6Bg0gcQhal7eYxCy9+QMlzZwQNSLvPzI=;
	b=V/x/oE+FZ0rpNFlDzHRz3iP8krlA5MPbx2MQAxxieClhRrAjTZkDhLqANEnVo25fUrKE
	 d9WMFfQHYVgSGByccTeOU2r9HybTdpyQNRU7IR5lzaeHvpXjP5ye5onEOuyQ+LAaJTqm9
	 6QuRpQv2ZrqadtZf6J87AN8zG3h2szin4xHboJ2Xa/NBX2oJexczBlX5Fmwm1lyjUz8TL
	 f4v6r81st0T0FO3ud4KFN55Olr1ZQvzFkXGose1CLdEdLJ12IzPKDYlrC+S7T9rBH7I3l
	 o/u11SeBKT4opeIVQpCiausc2mpLHa08qVGNOXR/0K3DBYYVs1LqjcZO+pKEVAVDOEg==
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=R+eGMUb6;
	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 E7DBB606A31C;
	Fri, 30 Oct 2026 00:10:06 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8741F1F000C1;
	Fri, 30 Oct 2026 00:10:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793319006;
	bh=pWoNgUMhu7f6Bg0gcQhal7eYxCy9+QMlzZwQNSLvPzI=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=R+eGMUb6/qffY31rSuBNjPPXRP5YNysbdw+KDZmlISsOcrDOuTkrvfbAv8LSZ38xG
	 2/+uPGh2M5buu3u7j+z8CDxs3/cf8/nV9owMpYz1woLvBdHK573ZzoWMRP0w3g87PO
	 yuN4qDaVYtD8fodgOfE5LpKETyMVF3exUfIZW486nhqgbRlH5Yxatyf+D+819hS1Kq
	 rfDn6oChrkofdi04gNPQ82KeVqfKK3/JCKqrOqgco4oJkzkQ4cKBCSK6aAifziA915
	 wmK+jTEGlYdVIAJ7QjioFs8WaO5jaZobwr8ZfMJ6yv6htJlgkXkjn5Oe0MPDFnCbt7
	 XyjjSb4z2VRUw==
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 7D1E338007D3;
	Fri, 30 Oct 2026 00:10:06 +0000 (UTC)
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: <20261028171511.35-1-andrea.mayer@uniroma2.it>
X-Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
 pabeni@redhat.com, horms@kernel.org, netdev@vger.kernel.org,
 linux-kernel@vger.kernel.org, david.lebrun@uclouvain.be,
 steffen.klassert@secunet.com, herbert@gondor.apana.org.au,
 dsahern@kernel.org, hazleycryilis@gmail.com, hangbin.liu@linux.dev,
 stefano.salsano@uniroma2.it, liuhangbin@kylinos.cn