🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #24884

[PATCH net-next v7 2/5] erspan: take the COS from the mirrored frame, not from the tunnel family

#24884
From: Anton Danilov
Date: Tue, 01 Dec 2026 00:59
251 lines
20744 bytes
erspan_build_header() and erspan_build_header_v2() take the TOS for
the COS field from ip_hdr(skb)->tos when the tunnel is IPv4 and from
the IPv6 traffic class when the tunnel is IPv6. But is_ipv4 describes
the tunnel, not the mirrored frame, so

 - an IPv4 frame mirrored to ip6erspan gets its COS from the IPv4
   version/IHL byte and the high TOS nibble: always 2, whatever the
   DSCP;
 - an IPv6 frame mirrored to erspan gets its COS from the low nibble
   of the traffic class: 4 instead of 5 for EF;
 - a frame that is neither gets its COS from whatever lies at the
   network header offset, which for a short frame is past its end.

Pick the IP version by the frame instead: by skb->protocol or, when
that is a VLAN type, by the version field at the network header. Read
the two bytes that hold the TOS or traffic class with
skb_header_pointer(). Return COS 0 if those bytes are unavailable or
the protocol is not recognized as IPv4 or IPv6 by this rule.

Keep the existing DSCP-to-COS mapping. This change bounds the reads
and removes the tunnel family from the interpretation of the inner
IP header; it does not introduce a new QoS policy based on VLAN PCP, MPLS
TC or skb->priority. The latter is a queueing priority, not necessarily
a three-bit class of service, and would need an explicit mapping.

For skb->protocol carrying a VLAN type, the version field is only a
heuristic, not validation of the encapsulated protocol. A non-IP
payload such as an MPLS label can begin with the same nibble as IPv4
or IPv6 and still produce a nonzero COS. Its COS can also differ from
the old tunnel-family-based result. Classifying arbitrary non-IP
VLAN payloads is outside this change; no COS 0 guarantee is made for
them. The two-byte read is bounded regardless of that classification.

The TOS is still read at the network header. That is where the stack,
tc mirred and packet sockets leave the IP header, also for frames that
do not start with an Ethernet header and its tags, such as a packet
mirrored from an L3 device or a frame behind a switch tag mirrored
from a DSA conduit. Where the network header is not on the IP header
the COS stays wrong, as do the other fields read there; one such case
is a tagged frame written by a packet socket under an IP sll_protocol,
whose network header is on the tag.

Drop the is_ipv4 argument, and with it the stale forward declaration
of erspan_build_header() in ip_gre.c, which would have had to follow.

The wrong COS and the read past the end were found by an AI code
review agent, in a review of another series that touches these
functions, and confirmed in a VM on an unmodified kernel:

 - EF (DSCP 46) frames mirrored with tc from a veth give COS 2 for
   IPv4 over ip6erspan v1 and v2, COS 4 for IPv6 over erspan v1 and
   v2, and COS 5 in the other four combinations. With the patch all
   eight give COS 5. So do the same frames with the EtherType at
   offset 12 overwritten by tc pedit as a switch tag would, sent
   through a VLAN device, and IP packets mirrored from a tun device:
   48 cases in all;
 - a 14 byte non-IP frame gives a KMSAN report when the packet is
   received on the other side; with the patch it does not.

Signed-off-by: Anton Danilov <littlesmilingcloud@gmail.com>
---
 include/net/erspan.h | 53 ++++++++++++++++++++++++++++++++++++--------
 net/ipv4/ip_gre.c    | 13 ++++-------
 net/ipv6/ip6_gre.c   | 10 ++++-----
 3 files changed, 52 insertions(+), 24 deletions(-)

diff --git a/include/net/erspan.h b/include/net/erspan.h
index 6bda757b6da2..c272b3fb9bfd 100644
--- a/include/net/erspan.h
+++ b/include/net/erspan.h
@@ -58,9 +58,11 @@
  * GRE proto ERSPAN type I/II = 0x88BE, type III = 0x22EB
  */
 
+#include <linux/if_vlan.h>
 #include <linux/ip.h>
 #include <linux/ipv6.h>
 #include <linux/skbuff.h>
+#include <net/dsfield.h>
 #include <uapi/linux/erspan.h>
 
 #define ERSPAN_VERSION	0x1	/* ERSPAN type II */
@@ -170,9 +172,46 @@ static inline u8 tos_to_cos(u8 tos)
 	return cos;
 }
 
+/* TOS of the mirrored frame, for the COS field, read at the network
+ * header.  The IP version comes from skb->protocol or, for a VLAN type,
+ * from the version field there, and not from the tunnel family.  The
+ * bytes are read with skb_header_pointer(), so a frame that does not
+ * have them gets 0.
+ */
+static inline u8 erspan_frame_tos(const struct sk_buff *skb)
+{
+	/* Align the two-byte buffer as struct iphdr, since
+	 * skb_header_pointer() may return its address as iph.
+	 */
+	__be16 _prefix __aligned(__alignof__(struct iphdr));
+	int offset = skb_network_offset(skb);
+	__be16 type = skb->protocol;
+	const struct iphdr *iph;
+
+	if (offset < 0)
+		return 0;
+
+	/* Version and DS field fit in the first 16 bits of either IP header. */
+	iph = skb_header_pointer(skb, offset, sizeof(_prefix), &_prefix);
+	if (!iph)
+		return 0;
+
+	if (eth_type_vlan(type)) {
+		if (iph->version == 4)
+			type = htons(ETH_P_IP);
+		else if (iph->version == 6)
+			type = htons(ETH_P_IPV6);
+	}
+
+	if (type == htons(ETH_P_IP))
+		return iph->tos;
+	if (type == htons(ETH_P_IPV6))
+		return ipv6_get_dsfield((const struct ipv6hdr *)iph);
+	return 0;
+}
+
 static inline void erspan_build_header(struct sk_buff *skb,
-				u32 id, u32 index,
-				bool truncate, bool is_ipv4)
+				u32 id, u32 index, bool truncate)
 {
 	enum erspan_encap_type enc_type;
 	struct erspan_base_hdr *ershdr;
@@ -184,9 +223,7 @@ static inline void erspan_build_header(struct sk_buff *skb,
 	u8 tos;
 	__be32 *idx;
 
-	tos = is_ipv4 ? ip_hdr(skb)->tos :
-			(ipv6_hdr(skb)->priority << 4) +
-			(ipv6_hdr(skb)->flow_lbl[0] >> 4);
+	tos = erspan_frame_tos(skb);
 
 	enc_type = ERSPAN_ENCAP_NOVLAN;
 
@@ -265,7 +302,7 @@ static inline u8 erspan_detect_bso(struct sk_buff *skb)
 
 static inline void erspan_build_header_v2(struct sk_buff *skb,
 					  u32 id, u8 direction, u16 hwid,
-					  bool truncate, bool is_ipv4)
+					  bool truncate)
 {
 	struct erspan_base_hdr *ershdr;
 	struct erspan_md2 *md2;
@@ -279,9 +316,7 @@ static inline void erspan_build_header_v2(struct sk_buff *skb,
 	u8 sgt = 0;
 	u8 tos;
 
-	tos = is_ipv4 ? ip_hdr(skb)->tos :
-			(ipv6_hdr(skb)->priority << 4) +
-			(ipv6_hdr(skb)->flow_lbl[0] >> 4);
+	tos = erspan_frame_tos(skb);
 
 	/* Unlike v1, v2 does not have En field,
 	 * so only extract vlan tci field.
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c
index b9754272b1c9..d31252090d87 100644
--- a/net/ipv4/ip_gre.c
+++ b/net/ipv4/ip_gre.c
@@ -111,9 +111,6 @@ static struct rtnl_link_ops ipgre_link_ops __read_mostly;
 static const struct header_ops ipgre_header_ops;
 
 static int ipgre_tunnel_init(struct net_device *dev);
-static void erspan_build_header(struct sk_buff *skb,
-				u32 id, u32 index,
-				bool truncate, bool is_ipv4);
 
 static unsigned int ipgre_net_id __read_mostly;
 static unsigned int gre_tap_net_id __read_mostly;
@@ -630,14 +627,14 @@ static void erspan_fb_xmit(struct sk_buff *skb, struct net_device *dev)
 
 	if (version == 1) {
 		erspan_build_header(skb, ntohl(tunnel_id_to_key32(key->tun_id)),
-				    ntohl(md->u.index), truncate, true);
+				    ntohl(md->u.index), truncate);
 		proto = htons(ETH_P_ERSPAN);
 	} else if (version == 2) {
 		erspan_build_header_v2(skb,
 				       ntohl(tunnel_id_to_key32(key->tun_id)),
 				       md->u.md2.dir,
 				       get_hwid(&md->u.md2),
-				       truncate, true);
+				       truncate);
 		proto = htons(ETH_P_ERSPAN2);
 	} else {
 		reason = SKB_DROP_REASON_UNHANDLED_PROTO;
@@ -790,13 +787,11 @@ static netdev_tx_t erspan_xmit(struct sk_buff *skb,
 		__clear_bit(IP_TUNNEL_SEQ_BIT, flags);
 	} else if (tunnel->erspan_ver == 1) {
 		erspan_build_header(skb, ntohl(tunnel->parms.o_key),
-				    tunnel->index,
-				    truncate, true);
+				    tunnel->index, truncate);
 		proto = htons(ETH_P_ERSPAN);
 	} else if (tunnel->erspan_ver == 2) {
 		erspan_build_header_v2(skb, ntohl(tunnel->parms.o_key),
-				       tunnel->dir, tunnel->hwid,
-				       truncate, true);
+				       tunnel->dir, tunnel->hwid, truncate);
 		proto = htons(ETH_P_ERSPAN2);
 	} else {
 		reason = SKB_DROP_REASON_UNHANDLED_PROTO;
diff --git a/net/ipv6/ip6_gre.c b/net/ipv6/ip6_gre.c
index 726636d7815b..d8e239a96841 100644
--- a/net/ipv6/ip6_gre.c
+++ b/net/ipv6/ip6_gre.c
@@ -1019,15 +1019,14 @@ static netdev_tx_t ip6erspan_tunnel_xmit(struct sk_buff *skb,
 		if (md->version == 1) {
 			erspan_build_header(skb,
 					    ntohl(tun_id),
-					    ntohl(md->u.index), truncate,
-					    false);
+					    ntohl(md->u.index), truncate);
 			proto = htons(ETH_P_ERSPAN);
 		} else if (md->version == 2) {
 			erspan_build_header_v2(skb,
 					       ntohl(tun_id),
 					       md->u.md2.dir,
 					       get_hwid(&md->u.md2),
-					       truncate, false);
+					       truncate);
 			proto = htons(ETH_P_ERSPAN2);
 		} else {
 			goto tx_err;
@@ -1053,14 +1052,13 @@ static netdev_tx_t ip6erspan_tunnel_xmit(struct sk_buff *skb,
 
 		if (t->parms.erspan_ver == 1) {
 			erspan_build_header(skb, ntohl(t->parms.o_key),
-					    t->parms.index,
-					    truncate, false);
+					    t->parms.index, truncate);
 			proto = htons(ETH_P_ERSPAN);
 		} else if (t->parms.erspan_ver == 2) {
 			erspan_build_header_v2(skb, ntohl(t->parms.o_key),
 					       t->parms.dir,
 					       t->parms.hwid,
-					       truncate, false);
+					       truncate);
 			proto = htons(ETH_P_ERSPAN2);
 		} else {
 			goto tx_err;
-- 
2.47.3
Technical Details
Message-ID: <20261201005941.1536429-3-littlesmilingcloud@gmail.com>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374583-linux-kernel-netdev=dewy.ru
References: <20261201005941.1536429-1-littlesmilingcloud@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374583-linux-kernel-netdev=dewy.ru
From: littlesmilingcloud@gmail.com (Anton Danilov)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next v7 2/5] erspan: take the COS from the mirrored frame, not from the tunnel family
Date: Tue,  1 Dec 2026 03:59:38 +0300
Organization: Usenet Network
Message-ID: <20261201005941.1536429-3-littlesmilingcloud@gmail.com>
References: <20261201005941.1536429-1-littlesmilingcloud@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1579608"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:qTVkCQ/7OMf1Gflka+knNvDQIDQ= sha256:2o9Y08gCOiXofPJLOc7nqWCRPCAeQSHzyipcLrIJAzU=
	sha1:1HXzsrXjneAK9SVk7OeGFPThl+8= sha256:XylW/4WdV+GhOfoUP8TMQE4cD3PfR974JLEbqlIOz2E=
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 9C66C126017; Tue,  1 Dec 2026 04:00:05 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.149
X-Spam-Status: No, score=-3.149 tagged_above=-9999 required=6.31
	tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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=gmail.com
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 QkIhyEhdaO0O;
	Tue,  1 Dec 2026 04:00:02 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-374583-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id BFB27126018; Tue,  1 Dec 2026 03:59:54 +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 809D7601CA2; Tue,  1 Dec 2026 00:59:53 +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=1796086790;
	b=y1EdrVp7v5NgYKgvpu+apOJvImNKjzWfndPTU2kLrrdwiTJ6Jdj8ichIwM6t+ujYOB8d
	 fiAvhF/VhxKK6MoXkZZPuW1dOz06zLqS4pXxQqdPl8/BbX/vRiBBgTGqU9m36BL4/pHOv
	 VE0otRf5B6hSjq7G1WdZbyPTgDqEQHe+1fWTdxzXEBW9oYed8rzFNEeo0/8YSKZgqcVTV
	 c+xwFFuK3ruEa0UnE6NnMQ4OzGmnWtZWSCQDXw9k2qlAtpOH5atdYYO75kZayMZBQevaH
	 etrcO/3xmoqvbkximuFz2eq5vNoxtHIY2WRm+hsP4uL05zos75S8cMPGRZvLqg8Hf7g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796086790;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:
	 References:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding;
	bh=J3U2GgjnWlSvu3gZKRiFKoz99hBK38YPJbQ3bAZKGAk=;
	b=Z0EU6YMiYu79Nf6f4aWvUdEJXmirvLBBn3E3fO7rYZAdDyagHEej5uKmmjj+eWbRQtrM
	 4uUjG/ca6gAuKbdJATObd5ZAo8GphO+L9+8BfDXjuErTxzz7UPyhXf2JWjIj5FRUC/zpt
	 GTwB7WxVkCAcutuSvSomL3F/a71oaUJA3n2XCxPyOsS3pl8rSfGuZBibRHEODRIzflNeG
	 Qlc/thW3iXYNO6Otp7BU9LyyG5XOeJWzAXR6N6DFMm23QmNQfkKoLyS1/JqnG3Ocm55Vu
	 Njl5vbWxK0G7ruqkSc+W2S+tm7zaMIAg1gnhuPPFFgXNPg0cNI3dYeN2GqyEUQTDlyA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b="Sti2Ug/d";
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	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 1480B606A69C;
	Tue,  1 Dec 2026 00:59:50 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=Sti2Ug/d
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.167.44
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796086789;
	b=itXhhykthQvhZMLKROOoao7HXjauEvyHoJYEpkc4s8WPSIvSlslcSZ8H4ngVlOQmr9LJ
	 EAvtQXlZD8CcfqMmOyKNP0DlAKewwLxkkcY6kIEiUCuwpTBIMGE6sgGG7VSWMXKa+ejQA
	 kpWYHSKE2ZhjuVZG2SxDwfGLXrfllbRL1P3w6mGbfvaUFsoxaTH0gN90XUw9SO5paaclq
	 VPhrnTFmulGEDhg3bb4UndE0zbqCyQpqr0fjOGRklRKCFMdC/XNlUD0ROzovWtJRVbeYj
	 bq/Wd6MYfa1v3nb57g8l7yVein9HxOpGc+t/86I1yd9SHRI076RtQpsZ0mK34i5zzjQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796086789;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject:
	 Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version:
	 Content-Transfer-Encoding;
	bh=J3U2GgjnWlSvu3gZKRiFKoz99hBK38YPJbQ3bAZKGAk=;
	b=pVln37nTZTPV5JiQGinGyT8UK17Idzr9nPBDj94jsxkLsR4uURG3/3CWefK/nQyL3DSN
	 rE/daS7RBGQ9t6Neke+hKlkAh2Li3Jf2j+f+3DuXu07JNNeHuj0vO8d4SwxtCZLUtGcex
	 GmMIQkUZQWFORexSUsY32ApFSBuhOsAWtANfQBC0VP0zd25zV+xZpcI/8rT+475szNkfk
	 W6MYORxXjv3anXatohQEHUZN0RbsWN/zHFqAATtmUDEjHGlI5PML3LIIhtPlFJ8b6FZ3K
	 /beoP5gIHNQmcpR3c3pM9sE+s4QGRihjcH2XxloNpIyLPAOxYjoVAcOfh2o/0K1Jt/A==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b="Sti2Ug/d";
	arc=none smtp.remote-ip=209.85.167.44
X-Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8820E606A686
	for <netdev@vger.kernel.org>; Tue,  1 Dec 2026 00:59:48 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8820E606A686
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-5c1465bbbdaso9222931e87.3
        for <netdev@vger.kernel.org>; Mon, 30 Nov 2026 16:59:48 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20260707; t=1796086787; x=1796691587; darn=vger.kernel.org;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:cc:to:from:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=J3U2GgjnWlSvu3gZKRiFKoz99hBK38YPJbQ3bAZKGAk=;
        b=Sti2Ug/doeFj0hjYA19A+vJrmF9iIjRMVSqY7+NCquvHSpYB5Jzthu23rCKUUjdb4K
         meqHKL6kxG97ZnqfPMOINn1IGhaiaDgv5tdaWzK5yIXiGqkSTc6s8GUkmLaQcai/GmQb
         WKGIktuNDp2Fu35zK28StDbTFq7oFSdGhxu4kFEbxYorHGJKlHZIrfWUNXHiriqr+awP
         pMrJ/jTu+OaRY/r0LCzRZOFxQDHDYSpgw0iF49O8uQo6Qr87UPc/Zq4UmIE45YoTx+HL
         6vIhdPtXno3Rarcq7oIXufg6dGxAwBybXxGELtGE8S3BVo/cr8f0rdZZWF4wtbzpvVMt
         HrqQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1796086787; x=1796691587;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
         :to:cc:subject:date:message-id:reply-to:content-type;
        bh=J3U2GgjnWlSvu3gZKRiFKoz99hBK38YPJbQ3bAZKGAk=;
        b=QQCmucsQG1MWuOu2bvr99RarWB4RlsI/tvxxh18uEJ0tGFxJ9djOHdznQH6hBtfpQC
         4pj8W3ucIOm2cLO8hAlWnNecI644GEjCqG8gPbXTfHQ+cH6GJVCftyRprUnCHyg4uLNf
         o5Kdxe8fHGZCtTJDrhO8PfAct8snpZUMnR7VhEgievB1OI9UVJ/+WeOwoF4GKTe43NNE
         yBduIzY4NOvw2lQy/JdFkrMoZ47ZxfCp4jeMDrNLYiBa1DVJ9/FTKQ+m/0OxuvWAS8u+
         US6MOQwNDoMULB0WE+u4t7qLAgAk6ewt0vHF61SM86Qi6w8XiJYE8AY6ah8bgvqV5TWH
         kyRw==
X-Gm-Message-State: APuU4Z/p/7CUA/RbKAK8afTnfngHY5LywXFKSg5uguOsinqzQfBfttiM
	9V6e89TCjL4W701hjwZvLxS/aJhlFb2eYY/K0FPxO7BMTzPy1VBdnNpUlrXyYn3z
X-Gm-Gg: AZFdTZcz5MPB7MG5N3JMLggiy7j/l4NHn3QixN+h7oToUcXg8xbfnAemM8QF3q3PMjn
	J9F5HEOB/j5wvrQ9drIoHUAMLAHgFJxWbuK55y/K4q8LxGaN0YEc/hQCEvTN4Kv/nzBx3BWkYJI
	jGFVb346nL1EUs7LU+42hOdumJ9Fmv2brOYODxSG+DkdCjgT9iZxFWxRq4kwGbiUm7aEzPC/Hy6
	LigJZAQNGcZlyUCd8pyDrswfgM49mBAYZWGvs2aWEaw5rsnblK2iLHpjgGBqE5rIcVnlYojPJaQ
	qp0eRP8hpU6Fwpxj5+4W0GWZhIUW/nXzGKBs9ME73hhEcZXOoJhQaImiBZ8USXG0UYTzgU3+Rsc
	t+Ob4K62DclBFo5sNPDVNG6QffoDMhzrnbxckSsJPzR8t4l+HeECjMmgdf7SwM2lsgMHm42d9Py
	DIj6UxvCPqHj18d4MQ3J0EOsoO+Z6hWBbJfZHwT+x8yQSPCKOXPIEIl3/YqOeCb2e6i/+AFBEh8
	8r0AtNfO/4q/3uWuTA7KpCDuLr+FbGfLaUZ0WfoIvWkVwYs+oLx36MsI0nXiNL5k7uyYlww4RCD
	ZtHo/8xQg97MeZn9nkNIYeYpyOCn/Z+qVhPJMDC3hZuT9I6tqnXSVAZkGU9yDbgagggDDUoHcaN
	ZSlmHkx6u6yAhW5Y=
X-Received: by 2002:a05:6512:ba0:b0:5c1:4cad:c31a with SMTP id 2adb3069b0e04-5c1bc8f4219mr11311164e87.63.1796086786665;
        Mon, 30 Nov 2026 16:59:46 -0800 (PST)
X-Received: from dau-home-pc.megasoftware.org ([94.28.149.75])
        by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5c1bd040a9bsm8895709e87.48.2026.11.30.16.59.45
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Mon, 30 Nov 2026 16:59:46 -0800 (PST)
X-Cc: Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>,
	Paolo Abeni <pabeni@redhat.com>,
	"David S. Miller" <davem@davemloft.net>,
	Simon Horman <horms@kernel.org>,
	David Ahern <dsahern@kernel.org>,
	Willem de Bruijn <willemb@google.com>,
	Ido Schimmel <idosch@nvidia.com>,
	Florian Westphal <fw@strlen.de>,
	William Tu <u9012063@gmail.com>,
	Meenakshi Vohra <mvohra@vmware.com>,
	Matthias May <matthias.may@westermo.com>,
	Mazin Al Haddad <mazin@getstate.dev>,
	Shuah Khan <shuah@kernel.org>,
	linux-kselftest@vger.kernel.org,
	linux-kernel@vger.kernel.org
X-Mailer: git-send-email 2.47.3
X-In-Reply-To: <20261201005941.1536429-1-littlesmilingcloud@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