🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by Mark Brown Thu, 12 Nov 2026 13:58
linux-next: manual merge of the net-next tree with the net tree
#15191
Author: Mark Brown
Date: Thu, 12 Nov 2026 13:58
80 lines
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--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads