🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8251

[PATCH net 0/2] net: gro: fix frag0 and remcsum handling

#8251
From: Eric Dumazet
Date: Wed, 28 Oct 2026 14:13
24 lines
8152 bytes
Two GRO fixes for paths using remote checksum offload (VXLAN, GUE)
and for NAPI_GRO_CB(skb)->frag0 after a pull.

Patch 1 skips skb_gro_remcsum_cleanup() once the skb was merged,
as skb->data was moved past the headers.

Patch 2 invalidates frag0 after a pull, which commit bd56a29c7a4e
("net: gro: change skb_gro_network_header()") stopped doing.


Eric Dumazet (2):
  net: gro: do not undo remote checksum offload on merged packets
  net: gro: invalidate frag0 after a pull

 include/net/gro.h       | 15 ++++++++++++++-
 net/core/gro.c          |  1 +
 net/ipv4/esp4_offload.c |  1 +
 net/ipv4/udp_offload.c  |  1 +
 net/ipv6/esp6_offload.c |  1 +
 5 files changed, 18 insertions(+), 1 deletion(-)

-- 
2.53.0
Technical Details
Message-ID: <20261028141325.2103814-1-edumazet@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-352873-linux-kernel-netdev=dewy.ru

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-352873-linux-kernel-netdev=dewy.ru
From: edumazet@kernel.org (Eric Dumazet)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net 0/2] net: gro: fix frag0 and remcsum handling
Date: Wed, 28 Oct 2026 15:13:23 +0100
Organization: Usenet Network
Message-ID: <20261028141325.2103814-1-edumazet@kernel.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1785065"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:LBaKKzBFUfAp8MPrWcLT5g4WBOI= sha256:V/2rLB4p9WTjX9T4cNWrANOo9u2YYSWnvCXP59SU700=
	sha1:+804tPZi3szt/KDSnYL0Jdb0Z2I= sha256:WFCVJ7Ne8yz1asGpyT/mxzdbfZK4HzdFqRGMsgzn+Zc=
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 C145D125C37; Wed, 28 Oct 2026 17:13:50 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[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 dXawDMHikERn;
	Wed, 28 Oct 2026 17:13:44 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-352873-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 E43D4125C36; Wed, 28 Oct 2026 17:13:35 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id E7EFE601319; Wed, 28 Oct 2026 14:13:33 +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=1793196811;
	b=NbtSIQjNMGJ2U/R32jv7ttfxi/TJNpK4jIbtShqqK5I1qSnzJCbMynm4grr4PXnLyzNW
	 EcEtZ8cGmO3yuigHqQjrH/y07m5CNi8qmDe2Z1LiAVgKdtkidRlrwIofvK6VGyKNFGWwq
	 M6VSGWFHGOITywBJJ6uLrNjyJSqLX0rjs8/SQjLIcDNiNEHT0IHWz2bQDGRrcHtAjyLoF
	 /cpReJr/tR4sDMnlEHflH/WCf50NLuj/pjadLuzO3RtFQSdnx6w3UTewsDZkghfRSlN1F
	 HNiPAo5OVg76M0r0Wi+sJC+8yKkicT6iSKvcS25ZYhUMqSDGKocm6KYwIBNRwnD32qw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793196811;
	h=X-Original-To:Received:Received:DKIM-Signature:From:To:Cc:Subject:
	 Date:Message-ID:X-Mailer:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding;
	bh=/owevBWTqxgFWQjVwB299tXpM2V0eJK3NmUNmAavoRc=;
	b=F9ogus+VRqL3kO4xJe7LneGHd483Q53eiC3Is8ezs6VLCeXiamIr3tBn0JrHWB80ANQ+
	 SYO/uLpNUxFr5EYAbBOp9+K2+xSDVUDQJx0wCaCxIkpA938etNhTuy0vhU143MgrvMAJ6
	 xZw4+rIZm3cbwVQylQvIe0W6V7NuV6TBkgLXAo2PRR9ZTnluBnhnhtS/QkzYeD18+OZ1E
	 jg9XSyFTWMGI80F8q5sfYR4hI8uhbOsk/XL5zQZT5lAeMO1SE250DIOAz+WVCLbOwX9Pc
	 ghtHKVZYRiZHvci8IBig8OX3zASoaNNxBFm0ULj2BigAv0ffkTsrgefVe9EF+mQ6WXg==
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=OznpZwLE;
	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 01538606A323;
	Wed, 28 Oct 2026 14:13:31 +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=OznpZwLE
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=1793196810;
	b=mk1PRxqL5jH3jsYiuDtqAeveiGMFvwQg6uZk90N7xUfnNnsxq72W35N0o4ueliNc/8kH
	 U6MSpzvVtL6luZ6Tx5BpWqZIrvrnIx+8kZE+j8ablaXP2it60EdK9iD1cuvJPSimMxZLn
	 RbBGrHCZCtxPeTx88g09Zpu97N4ZHzAj31d2jxK+mqRBR3IcpeLaGOvvcfqa/eq2QZIap
	 5QtJuXGPkDGhmNH6GzuCoUkaoX8s3rVQ9yge314X/Abgjd/O5fzH+QdUxWTvUwrowBS2o
	 UbCFoplln9Ye9m3o2w1iWdZg5MJig5wloeUtc31ZCRcaOoRqAHWSzvD5OL4Lqq8T4nw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793196810;
	h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer:
	 MIME-Version:Content-Transfer-Encoding;
	bh=/owevBWTqxgFWQjVwB299tXpM2V0eJK3NmUNmAavoRc=;
	b=scUEStWxUar5s1jzlIIANW9pc+yUDSIwqjutu6roMm/M4nRUuAo3eDpe+9Afk4n//HHm
	 lVZVbayIT6u4Vc5lA89llTSmhxOWbkWfsKMrfvHWpsLqsryQ9A2XyG7UQXFJj+TdXnUBS
	 BqNvy+0+2cZZyu1zF3Xh4pgQBuhEFkdCfpn56ZcVdSCtis4hA1hirnnFWjVf9QzHYQUym
	 bLC9hrkRCzkpnml3XzxvX9WyLD9JsRbDC7gGL0NG959Mv0TEwTMcyIMdaDdUMKmnfVvLl
	 rRDv9HWwO8kbq27M2eYR7kyerxPDdIUjM5hQXp+kVPToQ5VnDfVNiEFgRmKsfJ3NK9A==
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=OznpZwLE;
	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 D6CCB606A31A
	for <netdev@vger.kernel.org>; Wed, 28 Oct 2026 14:13:29 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id AFC5C1F01825;
	Wed, 28 Oct 2026 14:13:27 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793196809;
	bh=/owevBWTqxgFWQjVwB299tXpM2V0eJK3NmUNmAavoRc=;
	h=From:To:Cc:Subject:Date;
	b=OznpZwLEmfc5pMpMJ3a+1Nv7cDDdNjYcTQPWo6Oxo8QmpVGmHFhkk6IInrM18GGFC
	 BrhbGFuSWKCGyHuq2ldRv1mEsV+he2Uup9fJKoBZc4qYsMAOCC81Z5lfOs7ZareEOV
	 /2g9alp/d95qPLwmB1cmljC02HNGZP6tNo6Pu+I1rmsPdkKhGITnKPMRcgTmmmJ96z
	 AT7pq1Os9beKZ9+Wyl0x+OykYfqIoJoDKX1ImqRi2S5p0gmRnMGsmvNZEUcwRQZjUn
	 HdrbCmd3Enai+y4VTLfGC75Qrdd7epiXXW3/RgppfMy8v8cgws3znZjQT2uxB1XYAd
	 eRp55uo/t7QpA==
X-Cc: Simon Horman <horms@kernel.org>,
	Willem de Bruijn <willemb@google.com>,
	Steffen Klassert <steffen.klassert@secunet.com>,
	AutonomousCodeSecurity@microsoft.com,
	netdev@vger.kernel.org,
	edumazet@kernel.org
X-Mailer: git-send-email 2.53.0
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