Article View: linux.kernel.netdev
Article #15191linux-next: manual merge of the net-next tree with the net tree
From: Mark Brown
Date: Thu, 12 Nov 2026 13:58
Date: Thu, 12 Nov 2026 13:58
80 lines
10176 bytes
10176 bytes
--hbsTRJFSQTG8UKuQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi all,
Today's linux-next merge of the net-next tree got a conflict in:
net/core/dev.c
between commit:
fdca4b030c78f ("net: Segment CHECKSUM_UNNECESSARY GSO skbs other than fra=
glist")
=66rom the net tree and commit:
f4564d298418c ("net: reset transport_header for ndo_features_check")
=66rom the net-next tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
diff --cc net/core/dev.c
index 3c58db732761a,3eb28c0099605..0000000000000
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@@ -4207,18 -4215,15 +4215,27 @@@ static struct sk_buff *validate_xmit_sk
if (unlikely(!skb))
goto out_null;
=20
+ /* Only fraglist GSO, whose segments already carry valid checksums,
+ * can be handed to a device as CHECKSUM_UNNECESSARY. Any other GSO
+ * skb has no csum_start for the device to segment from. NONE means
+ * the same on transmit, but makes netif_needs_gso() send it to the
+ * GSO code, which turns TCP into CHECKSUM_PARTIAL for TSO and
+ * segments anything the device cannot offload in software.
+ */
+ if (unlikely(skb->ip_summed =3D=3D CHECKSUM_UNNECESSARY &&
+ skb_is_gso(skb) &&
+ !(skb_shinfo(skb)->gso_type & SKB_GSO_FRAGLIST)))
+ skb->ip_summed =3D CHECKSUM_NONE;
+
+ if (skb->ip_summed =3D=3D CHECKSUM_PARTIAL) {
+ if (skb->encapsulation)
+ skb_set_inner_transport_header(skb,
+ skb_checksum_start_offset(skb));
+ else
+ skb_set_transport_header(skb,
+ skb_checksum_start_offset(skb));
+ }
+=20
features =3D netif_skb_features(skb);
skb =3D validate_xmit_vlan(skb, features);
if (unlikely(!skb))
--hbsTRJFSQTG8UKuQ
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmr1xgsACgkQJNaLcl1U
h9BjmQf9E6mOoRUCou116MG7nL3fkAZc56BcCIGX2v5bIdXtjubmMpcmf7Glq+ZN
EwYop32PxDepzQ4Dua7yHHg4JjL0QqzVXu5OyNxfycJhaV15qvTeo0g+2Jviv7TX
szUO73MD49Z64hoZ70FrC+PEuxAdRKgUKwzEVxzleg9Pot4PufoB45ZVExB3neye
HcjG+NFwBwgyH4Vh+yVTwraxTRIuwpQpVTkncAYYGTaEBM77m7dRMOyRc2T4OZ9h
njXfSBxObbuPWw2fj6Cff5OWb7uEYgyNguVy/03kGUqsNmSRrGmc8Y4O55y9+ROE
b4F25nAdY1lVhui2LxTolGfzBxx8qg==
=achw
-----END PGP SIGNATURE-----
--hbsTRJFSQTG8UKuQ--
Technical Details
Message-ID:
<avXGDHChG4mIw6Tl@sirena.org.uk>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361905-linux-kernel-netdev=dewy.ruShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361905-linux-kernel-netdev=dewy.ru From: broonie@kernel.org (Mark Brown) Newsgroups: linux.kernel.netdev Subject: linux-next: manual merge of the net-next tree with the net tree Date: Thu, 12 Nov 2026 13:58:36 +0000 Organization: Usenet Network Message-ID: <avXGDHChG4mIw6Tl@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hbsTRJFSQTG8UKuQ" Injection-Info: usenet.network; logging-data="1100978"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:iBUsgfrjxeWql9Xt6Do5Bxh24AY= sha256:KLmpwIDVvH2Jl6Kw9dDJzS4fB0MeTKtxr0arcg/ASFQ= sha1:ankkKcbt0sdDPj3wCD0/7gTtCI8= sha256:9J8npJFAkuO28XvQ7bi1zgGS35Iw1GQ45No91J+gnSs= Content-Disposition: inline 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 DE48011427C; Thu, 12 Nov 2026 17:01:05 +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 2dLl6AroVV5R; Thu, 12 Nov 2026 17:01:03 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-361905-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 D9239114277; Thu, 12 Nov 2026 17:00:44 +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 428416241DC; Thu, 12 Nov 2026 13:59:36 +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=1794491921; b=3MspOn9qE8325Hv+i9iRWuzZoX4m/u/sjQnxKA/bC2sZzvpaL7zpn2j6aqU66FdvTkOp oDUYBNoNc/1SOO+7OKT0j6m8G8VAqCLpHQIh6z60hTZJeaP8tZ1wrcSUDL36oYMi9tuVF Ec64GxwLQUYIiPVvhuXCQqOZPbdbWA1gmcrt5UNVSoMzV7VR4MDGX0nipmctn2pyHAbe2 YjUhjWYX/2GrWCMSI0FJiBOA006Ip3w+3Ia224Q2MAHKUMxh35NUk4gwxg8yjxgThsgI8 UF+2QpB2fV1hiW+n7z0xcvqcTzlhag9yA1xtxCjvE+9j6+n3z5li3zq85w/XCtmEoug== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794491921; h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:X-Mailing-List:List-Id:List-Post:List-Help: List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Type:Content-Disposition; bh=y6MFHGvPcbYar4CwyKNbKRP//yyNLcZhu080l4QiH6c=; b=EoIZ2GNuETSrVy0DTTzEAfSodDQIql3K+s1LSJmiZ2dFZItIhhJSnPP8AvE8woB7914M 9TMkR3/uTsUQA/Jp6DdJsUWNVSloP+fRLxyxdVARliPZ7ZPrwJH+F9MiCfI7MDgl2UoBS TBaB/SO/uSMr8yystba44qmhxubEg7sdZrq7csDhmiaWSI9ooDc/boxKscsGtacmU5brU hJkVcNz1UdXXjwV7hMghuxxnztKx+NS7EJGfx9KG6mNrLfwxc4pGWsMCecEY0825pvtaI UC/qURKU4NiecjId3D88l/SZSI5WDDrcqPV+xDIWOjYu4qZeSH1FB71LR4BYwMGTKAA== 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=kXRrt1P7; 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 81684606A332; Thu, 12 Nov 2026 13:58:41 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kXRrt1P7 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=1794491920; b=Ukv6Ij9ahGorctlWpJqWXQW7wpdvG8XLv1J8bbdJ8Wr2uigSzkv3xMh4Ba/mfYrinMsS BgAPLQp2SvRrz+7sRtXzbhQBw3OVYdxI6PH9t52C5ij2eqsAgA8kPJxEQYWr3CuhqLik8 Wbo2fGrpT4U4iKnvUzAxcy4WNBZhDZG5H3gncKu23xmaezHpAHTchAtzHI4W6PGxxkRHb XxwA8pF6bL4RULnB50Q0IPRn1IwkngP6krFNlptOEHZg3WMRuatqQ43HhrHwZ4PEnfa8V LNj/UACdJ2GJkO9xW53nW7QuVnNVcPAfMlMVa+O9J1Naj7fqYXjjJGTFxspBawZDGBA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794491920; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: MIME-Version:Content-Type:Content-Disposition; bh=y6MFHGvPcbYar4CwyKNbKRP//yyNLcZhu080l4QiH6c=; b=bZPoLIhAz2p2b4hvVpONIrTIxQmc/AKAe5ynSt3J47dtO4DFlyDGn0BqCF8Z7Fk7Sm4Z Q1KJ0jvLdJT+LVp34vamFfg+uyge1RFcOu004+EpE/pv9FaqIlZBEeYpKIB5Xns1stkbx lBd54rwnyAu/I1yxo4XMbGIMhh1AQXY2DmADZSR3jQ68IRPHWvUTjcAC/phfAp9lsLEEW qVp6bHl8zAge7Hy4XHF4pdns4zDYI8Rgv+SKcIEmkBpkpt6QJ1rWexJRdgdWJOI4biLVK nVVVKSxjuAIlbWaPqEA/hRcsP+6UfM6D4jchobOyJJPKjtS9gcbOwAJUZ2iUCdAxG2g== 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=kXRrt1P7; 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 9F8BF606A88E; Thu, 12 Nov 2026 13:58:40 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE29A1F00A0C; Thu, 12 Nov 2026 13:58:38 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794491920; bh=y6MFHGvPcbYar4CwyKNbKRP//yyNLcZhu080l4QiH6c=; h=Date:From:To:Cc:Subject; b=kXRrt1P7mr3R2cKLdzTIUoucgIeMj0wAbVIdqyQtR1BmT21hJvOTYrfNNkgI8nuQU 8X6OPTasyQJuo4kBCDSkZa6kFeDvN7VPLZAphwqJ2cpSScqcAcCmzTSR3aVf86S+Rx E54IEzIeEz4JQeTICT3mDEPzGmZVm+TrGs4VVkvhy3P0NYbYigPxr7KxOs6qWE5aXh o17N6r3smgZqZvtW3ssC30oXo2UoVacNTmGg4iHPyEhW7zfy1lxwNhOlf0yowVIJbC 6jeTrBMk9i+RxEReL+gt6H4gmF7zjOPltw5cBwAz+5QvPsBwiWm0+cg+0dnBsmEm6c oj77VLcyuYKZA== X-Cc: Alexander Duyck <alexanderduyck@fb.com>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Linux Next Mailing List <linux-next@vger.kernel.org>, Matt Vollrath <tactii@gmail.com> 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