🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #27252

[PATCH net-next v4 1/2] tcp: prefer a device-bound listener over an unbound SO_REUSEPORT one

#27252
From: Kalash Nainwal via B4 Relay
Date: Sat, 05 Dec 2026 05:06
249 lines
21193 bytes
From: Kalash Nainwal <kalash@nexthop.ai>

compute_score() scores a listener bound to a device higher than an
unbound one, but inet_lhash2_lookup() and inet6_lhash2_lookup() return
the SO_REUSEPORT pick of the first socket that beats the current best
score. An unbound and a device-bound listener are never in the same
reuseport group, so when the unbound one is first in the bucket it
takes the connections the device-bound one should get. AF_INET
reuseport listeners are added at the head of the bucket and AF_INET6
ones at the tail, so the result also differs between IPv4 and IPv6.

This affects connections that arrive in a VRF with tcp_l3mdev_accept=1,
for example when only the VRF-bound listener has TCP-MD5 keys, and
connections that arrive on a device that a listener is bound to with
SO_BINDTODEVICE.

Prefer a matching device-bound socket over an unbound one whatever
their scores, and use the score only between sockets of the same kind.
After a pick from an unbound reuseport group, keep scanning the bucket
for a device-bound socket instead of returning the pick.

To keep the fast reuseport return for everyone else, count the
device-bound listeners in each listening bucket, and only keep
scanning when the count is not zero. The count is updated under the
bucket lock when a listener is hashed or unhashed, and when
SO_BINDTODEVICE changes the device of a hashed listener. This follows
commit acdcecc61285 ("udp: correct reuseport selection with connected
sockets"), which falls back to scoring only for reuseport groups that
have connected sockets.

Update Documentation/networking/vrf.rst, which described the listener
choice for VRF traffic as unspecified.

Signed-off-by: Kalash Nainwal <kalash@nexthop.ai>
---
 Documentation/networking/vrf.rst | 24 +++++++++++------------
 include/net/inet_hashtables.h    |  3 +++
 net/core/sock.c                  |  5 +++++
 net/ipv4/inet_hashtables.c       | 42 +++++++++++++++++++++++++++++++++++++---
 net/ipv6/inet6_hashtables.c      | 21 +++++++++++++++++---
 5 files changed, 77 insertions(+), 18 deletions(-)

diff --git a/Documentation/networking/vrf.rst b/Documentation/networking/vrf.rst
index 0a9a6f968cb9..e49ce85c235e 100644
--- a/Documentation/networking/vrf.rst
+++ b/Documentation/networking/vrf.rst
@@ -144,18 +144,18 @@ default VRF are only handled by a socket not bound to any VRF::
 netfilter rules on the VRF device can be used to limit access to services
 running in the default VRF context as well.
 
-Using VRF-aware applications (applications which simultaneously create sockets
-outside and inside VRFs) in conjunction with ``net.ipv4.tcp_l3mdev_accept=1``
-is possible but may lead to problems in some situations. With that sysctl
-value, it is unspecified which listening socket will be selected to handle
-connections for VRF traffic; ie. either a socket bound to the VRF or an unbound
-socket may be used to accept new connections from a VRF. This somewhat
-unexpected behavior can lead to problems if sockets are configured with extra
-options (ex. TCP MD5 keys) with the expectation that VRF traffic will
-exclusively be handled by sockets bound to VRFs, as would be the case with
-``net.ipv4.tcp_l3mdev_accept=0``. Finally and as a reminder, regardless of
-which listening socket is selected, established sockets will be created in the
-VRF based on the ingress interface, as documented earlier.
+VRF-aware applications (applications which simultaneously create sockets
+outside and inside VRFs) can be used in conjunction with
+``net.ipv4.tcp_l3mdev_accept=1``. With that sysctl value, both a listening
+socket bound to the VRF and an unbound one match connections from the VRF.
+Among listening sockets bound to the same local address, the one bound to the
+VRF (or to the ingress device) is selected, also when the sockets use
+SO_REUSEPORT; the unbound socket only accepts connections from VRFs that have
+no listening socket of their own. A listening socket bound to a specific local
+address is still selected before one bound to the wildcard address, whether or
+not it is bound to a device. Finally and as a reminder, regardless of which
+listening socket is selected, established sockets will be created in the VRF
+based on the ingress interface, as documented earlier.
 
 --------------------------------------------------------------------------------
 
diff --git a/include/net/inet_hashtables.h b/include/net/inet_hashtables.h
index 44b7e39a1245..4638bf292942 100644
--- a/include/net/inet_hashtables.h
+++ b/include/net/inet_hashtables.h
@@ -140,6 +140,8 @@ struct inet_bind_hashbucket {
 #define LISTENING_NULLS_BASE (1U << 29)
 struct inet_listen_hashbucket {
 	spinlock_t		lock;
+	/* Number of listeners in nulls_head bound to a device */
+	unsigned int		bound;
 	struct hlist_nulls_head	nulls_head;
 };
 
@@ -308,6 +310,7 @@ bool inet_ehash_nolisten(struct sock *sk, struct sock *osk,
 			 bool *found_dup_sk);
 int inet_hash(struct sock *sk);
 void inet_unhash(struct sock *sk);
+void inet_listen_bound_change(struct sock *sk, int delta);
 
 struct sock *__inet_lookup_listener(const struct net *net,
 				    struct sk_buff *skb, int doff,
diff --git a/net/core/sock.c b/net/core/sock.c
index aa2fc17b78ef..9ec8a9727be6 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -644,6 +644,11 @@ static int sock_bindtoindex_locked(struct sock *sk, int ifindex)
 	if (ifindex < 0)
 		return -EINVAL;
 
+	/* Keep the count of device-bound TCP listeners up to date */
+	if (IS_ENABLED(CONFIG_INET) && sk_is_tcp(sk) &&
+	    !sk->sk_bound_dev_if != !ifindex)
+		inet_listen_bound_change(sk, ifindex ? 1 : -1);
+
 	/* Paired with all READ_ONCE() done locklessly. */
 	WRITE_ONCE(sk->sk_bound_dev_if, ifindex);
 
diff --git a/net/ipv4/inet_hashtables.c b/net/ipv4/inet_hashtables.c
index 860145d810ed..86c58dcc16ea 100644
--- a/net/ipv4/inet_hashtables.c
+++ b/net/ipv4/inet_hashtables.c
@@ -421,18 +421,33 @@ static struct sock *inet_lhash2_lookup(const struct net *net,
 				const int dif, const int sdif)
 {
 	struct sock *sk, *result = NULL;
+	bool result_bound = false, unbound_reuse = false;
 	struct hlist_nulls_node *node;
 	int score, hiscore = 0;
 
 	sk_nulls_for_each_rcu(sk, node, &ilb2->nulls_head) {
+		bool bound = sk->sk_bound_dev_if;
+
+		/* A matching device-bound socket is always preferred over an
+		 * unbound one.
+		 */
+		if (!bound && (result_bound || unbound_reuse))
+			continue;
+
 		score = compute_score(sk, net, hnum, daddr, dif, sdif);
-		if (score > hiscore) {
+		if (score > hiscore || (score > 0 && bound && !result_bound)) {
 			result = inet_lookup_reuseport(net, sk, skb, doff,
 						       saddr, sport, daddr, hnum, inet_ehashfn);
-			if (result)
+			/* Without device-bound listeners in the bucket, the
+			 * pick of the first matching reuseport group is final.
+			 */
+			if (result && (bound || !READ_ONCE(ilb2->bound)))
 				return result;
 
-			result = sk;
+			unbound_reuse = !!result;
+			if (!result)
+				result = sk;
+			result_bound = bound;
 			hiscore = score;
 		}
 	}
@@ -818,6 +833,8 @@ int inet_hash(struct sock *sk)
 			goto unlock;
 	}
 	sock_set_flag(sk, SOCK_RCU_FREE);
+	if (sk->sk_bound_dev_if)
+		WRITE_ONCE(ilb2->bound, ilb2->bound + 1);
 	if (IS_ENABLED(CONFIG_IPV6) && sk->sk_reuseport &&
 		sk->sk_family == AF_INET6)
 		__sk_nulls_add_node_tail_rcu(sk, &ilb2->nulls_head);
@@ -853,6 +870,8 @@ void inet_unhash(struct sock *sk)
 			reuseport_stop_listen_sock(sk);
 
 		__sk_nulls_del_node_init_rcu(sk);
+		if (sk->sk_bound_dev_if)
+			WRITE_ONCE(ilb2->bound, ilb2->bound - 1);
 		sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1);
 		spin_unlock(&ilb2->lock);
 	} else {
@@ -865,6 +884,22 @@ void inet_unhash(struct sock *sk)
 	}
 }
 
+/* A listener changed between unbound and device-bound: update the count
+ * of device-bound listeners in its bucket.
+ */
+void inet_listen_bound_change(struct sock *sk, int delta)
+{
+	struct inet_listen_hashbucket *ilb2;
+
+	if (sk->sk_state != TCP_LISTEN || sk_unhashed(sk))
+		return;
+
+	ilb2 = inet_lhash2_bucket_sk(tcp_get_hashinfo(sk), sk);
+	spin_lock(&ilb2->lock);
+	WRITE_ONCE(ilb2->bound, ilb2->bound + delta);
+	spin_unlock(&ilb2->lock);
+}
+
 static bool inet_bind2_bucket_match(const struct inet_bind2_bucket *tb,
 				    const struct net *net, unsigned short port,
 				    int l3mdev, const struct sock *sk)
@@ -1305,6 +1340,7 @@ void __init inet_hashinfo2_init(struct inet_hashinfo *h, const char *name,
 
 	for (i = 0; i <= h->lhash2_mask; i++) {
 		spin_lock_init(&h->lhash2[i].lock);
+		h->lhash2[i].bound = 0;
 		INIT_HLIST_NULLS_HEAD(&h->lhash2[i].nulls_head,
 				      i + LISTENING_NULLS_BASE);
 	}
diff --git a/net/ipv6/inet6_hashtables.c b/net/ipv6/inet6_hashtables.c
index 1eea584d80df..ecebac66ba0c 100644
--- a/net/ipv6/inet6_hashtables.c
+++ b/net/ipv6/inet6_hashtables.c
@@ -192,18 +192,33 @@ static struct sock *inet6_lhash2_lookup(const struct net *net,
 		const unsigned short hnum, const int dif, const int sdif)
 {
 	struct sock *sk, *result = NULL;
+	bool result_bound = false, unbound_reuse = false;
 	struct hlist_nulls_node *node;
 	int score, hiscore = 0;
 
 	sk_nulls_for_each_rcu(sk, node, &ilb2->nulls_head) {
+		bool bound = sk->sk_bound_dev_if;
+
+		/* A matching device-bound socket is always preferred over an
+		 * unbound one.
+		 */
+		if (!bound && (result_bound || unbound_reuse))
+			continue;
+
 		score = compute_score(sk, net, hnum, daddr, dif, sdif);
-		if (score > hiscore) {
+		if (score > hiscore || (score > 0 && bound && !result_bound)) {
 			result = inet6_lookup_reuseport(net, sk, skb, doff,
 							saddr, sport, daddr, hnum, inet6_ehashfn);
-			if (result)
+			/* Without device-bound listeners in the bucket, the
+			 * pick of the first matching reuseport group is final.
+			 */
+			if (result && (bound || !READ_ONCE(ilb2->bound)))
 				return result;
 
-			result = sk;
+			unbound_reuse = !!result;
+			if (!result)
+				result = sk;
+			result_bound = bound;
 			hiscore = score;
 		}
 	}

-- 
2.43.0
Technical Details
Message-ID: <20261204-tcp-l3mdev-exempt-ports-v4-1-b2d4465a937c@nexthop.ai>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377838-linux-kernel-netdev=dewy.ru
References: <20261204-tcp-l3mdev-exempt-ports-v4-0-b2d4465a937c@nexthop.ai>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377838-linux-kernel-netdev=dewy.ru
From: devnull+kalash.nexthop.ai@kernel.org (Kalash Nainwal via B4 Relay)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next v4 1/2] tcp: prefer a device-bound listener over
 an unbound SO_REUSEPORT one
Date: Fri, 04 Dec 2026 22:06:14 -0700
Organization: Usenet Network
Message-ID: <20261204-tcp-l3mdev-exempt-ports-v4-1-b2d4465a937c@nexthop.ai>
References: <20261204-tcp-l3mdev-exempt-ports-v4-0-b2d4465a937c@nexthop.ai>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="2958108"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:e+z5V2hnV7/DKxvLW8pRZyTX+qM= sha256:F0QGlgY2AKnP5uTgrn+9xXzSivH8L7AuKiRnua+a5B4=
	sha1:CTdB80zQwEIfD5QMnZUCkiOM8hE= sha256:u05gpYnzSGZlSW9Jsnw9y+5AlXhSQbXv4lYz57hs9H4=
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 A8F60117D70; Sat,  5 Dec 2026 08:06:42 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.642
X-Spam-Status: No, score=-3.642 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.142, 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 oXWwFM-qBMfI;
	Sat,  5 Dec 2026 08:06:40 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-377838-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 0DFCB117D72; Sat,  5 Dec 2026 08:06:31 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id D36E027C4E; Sat,  5 Dec 2026 05:06:25 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796447183;
	b=1qguYhF5jTaE2BUENSLyGPegKzzDx5LIYDcNwjPpNerXYL23RQaFJvd1wuM1fS9n9+Eu
	 lV1wBF1c3fGqdsTkEqrx9TJUXpB79LdZzQCWY5pNkzPJFeUXY3RETxPyfdJQaUcO1HboF
	 Wbty88DvqOA84tblI0Xw0/EWM4fjQ8Nun0sqVsz9+OL2ywluYMXSy1VqkHXpC+2Xh5xtx
	 tmR3wrNTYbArAd4HaeKrvIRMFbVYOLZQDx0ulwo4SpjaMH8c2g6fOEeSdq67buBo8HSum
	 RFrDUMwqGRfTHC008Z1iyhekcOACfmkGnX0UXaeuXkaSGYpkJItrS9hzyLi373yBvYQ==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796447183;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:From:Date:
	 Subject:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
	 Message-Id:References:In-Reply-To:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To:Content-Transfer-Encoding;
	bh=PrCsobiPFRQBZmH9qlmkrgGiidnYDGB0PEOB3ZU+DxI=;
	b=K4tOaLfQ1SmEaPOpUEuwZyzYkRfyjgZl2PGt/AKhA3wfhgix5qrxqA4K1f5FAsMaV+rP
	 o2NvMqU66rseNvEcedpGuI2ceXI9xnyeSNolB9mSSI/SfDLtlO4sM3WvUzETdbvBr5gx7
	 edg0iHi00JmCzPngEZGdFHedfRrQ97ZqVvOwnF79ZestbIEphui3C2LkGXzabk+G+9SZi
	 IUs2djRF+uCi3oILlWbdQOB5QmOWvuPoYAhSaaMcnBF29ieKSkU2fvOTT8HNW7IrhceyL
	 09wLrmLpctXTyrYCo+/UfCybLzwC6TY4b94xRT2K5oJZDz8q2AJ6CSa8LteO4qdYfyg==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=fEXvOWpQ;
	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 75D60606A688;
	Sat,  5 Dec 2026 05:06:23 +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=fEXvOWpQ
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796447177;
	b=nGO/Uzb7aI9Z4E0TIX1HvnhPIT3j1oKNhRPKFooDhBuGGktnoJY+JEElkNDJe9mi5AGe
	 T6cu+6ZN+2SiPvOfNKP9C3ZlPRvBBaXy8IKOhSli1bGXZnKMuXMY+fn+45ud4DgeGGEwq
	 vNkUafRQwL8Ya2lEwdMAmyopkR2h3LIIT4iZUtn5l5SM1n93nM1pfhkl89lO+QO29cCbU
	 ihm5K8xKQZf4IZYZPW9vEYXbyjz2Oh1ob7PTqy/+OEg6vl2TZqzyc3o0GZEgmvQwSu0y6
	 YydXw8O0+ac26o9waohHAYyvuE4X5taftTJP52T66iw6SRY/ZD1WBc/0ov2pHhdmxEw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796447177;
	h=Received:DKIM-Signature:Received:From:Date:Subject:MIME-Version:
	 Content-Type:Message-Id:References:In-Reply-To:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To:Content-Transfer-Encoding;
	bh=PrCsobiPFRQBZmH9qlmkrgGiidnYDGB0PEOB3ZU+DxI=;
	b=e4KzHe1ZZj/U0rWuG8yurBBKxUaPej9K6A9CrTBu4Bmji9zi2PMRhqviMW4dZkLAjrz4
	 94uony7Be6i5+GewT0so319FihVGDCdz0IZpw/+GyaVu7CToVGnfwIdG30MjddxPrpius
	 +M3idVBqcJUXOcblnWOHHdWg6Cq4CRmppCN0nCMGQN3Q22rde/+E5Fnhpj/+oEBxkuIMC
	 erqQjAp/Kxe3QhALhylPw4UDd5g2TTq2KVFwGvsSB+raBbdyxdVx9lIfxH/Mg0/5GChEH
	 +mFK5OrMkBFJAlmC4erUw0wFAjzsVszgXSwBZUzXhHyOuiyLY/r9FmAN2MpzPYJW4xw==
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=fEXvOWpQ;
	arc=pass header.oldest-pass=0 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 93116606A333;
	Sat,  5 Dec 2026 05:06:17 +0000 (UTC)
X-Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77
X-ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none;
	t=1796447177;
	b=kRCt8rm9lhKrg+x234tN4R3vjOBo8LbxnYr8NFRKsOveOVSyeYte6Ckjit0HnvSWcZh8
	 ca3InfZxLfWA36ymIaaqSHzsU2AJDohZkjDA4HGgHXEviAtF3PSGUaFFBOMX7fSLyrh2c
	 U6xeGlt9ASvo8BpCGlMzGwD82/k6FOzqQP9nZnNsxpOVPTiP5zTqDLDQBHebSyznubti6
	 Pg7pP1/a8yHCgy7IFdx3r/JrnaiwuMrpiD0EJGpRrLuicVhWN6SYLNSpkBtnLsPvbZ7DS
	 esKTtK2K1qSMrAf+o/G+dSf6TlVFkQevI/dxcOhvN0nISOeIUhLmWGsyt1XwptK1Smw==
X-ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256;
	c=relaxed/relaxed; t=1796447177;
	h=DKIM-Signature:Received:From:Date:Subject:MIME-Version:Content-Type:
	 Message-Id:References:In-Reply-To:To:Cc:X-Mailer:
	 X-Developer-Signature:X-Developer-Key:X-Endpoint-Received:
	 X-Original-From:Reply-To:Content-Transfer-Encoding;
	bh=PrCsobiPFRQBZmH9qlmkrgGiidnYDGB0PEOB3ZU+DxI=;
	b=K7/l7rlDNnxWvdzYz38onb1uWl8H4A9QMEtA4kxmyPN6Y422rX+xzyZjOuGYTeAqt9dB
	 Qdxr8A/nPILxNCBNLYMuyk17ji0mkdfLdOMEzip/nurDNTZvCorNSSJ3bmpfpvcYQ61BU
	 bEos+6L/+nDTHkPMyAEwxwrVOsVuegke+Iuyndh0nn4NtvbhhAuwL0UVca0UmXjgn/rIi
	 91kKBeJ59U3sP/6dLWAURC/SkKP8gz8m/ImEejiBzD/1WpdVGmS5rldGhsCdcjnPW1bTc
	 WBoTkFCM7CSeGnh0ULNUUFLl+RIijVqSTTDpHANOGmVCRjyTl8I4IC/lbpmHAGEfEZg==
X-ARC-Authentication-Results: i=1; smtp.kernel.org; 
	arc=none smtp.remote-ip=100.80.115.77
X-Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.kernel.org (Postfix) with ESMTPS id 5F32C1F00A07;
	Sat,  5 Dec 2026 05:06:16 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796447177;
	bh=PrCsobiPFRQBZmH9qlmkrgGiidnYDGB0PEOB3ZU+DxI=;
	h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To;
	b=fEXvOWpQQF3sXTA1TmspnWmcMjiN9B2+dKLZLP1+Ro7+rSaitg4bqAiKCg2+GVqol
	 0bp8ptqeDxLCsZ92YH4bcKfLj7RptJIo6AzlKYPen3BCKb8zeNzTnWw5A/wICvt+r6
	 ipnNSHGTTYSjMlfmyMhTx94TxaP9mG9Nr9kGHATwJ31cueFGgv0onoByWOgFr6ymdZ
	 pv0GXWHMldPlsNN5vmaT1xxtWoK1v63FH2chTzbXWRNRSO9ESKwSBw5iICWAhKH/0S
	 9CLDnoiBonNhU2om9WkXCG60Ojlri3gfrXDXNf3LpEpNPyQquvx/axVWktX5GW0z3c
	 siwP+651GKbdA==
X-Received: from nexus.subspace.kernel.org (localhost [IPv6:::1])
	by lkml.kernel.org (Postfix) with ESMTP id E11EB50165;
	Sat,  5 Dec 2026 05:06:15 +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: <20261204-tcp-l3mdev-exempt-ports-v4-0-b2d4465a937c@nexthop.ai>
X-Cc: Shuah Khan <shuah@kernel.org>, netdev@vger.kernel.org, 
 linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, 
 linux-kselftest@vger.kernel.org, Kalash Nainwal <kalash@nexthop.ai>
X-Mailer: b4 0.16.0
X-Developer-Signature: v=1; a=openpgp-sha256; l=10197; i=kalash@nexthop.ai;
 h=from:subject:message-id;
 bh=e0AfVAqLt8Jgil0ZQtzuUnDU1MHGzlhtDYr/ASCrboU=;
 b=owEB7QES/pANAwAKAdTKslu1X9B2AcsmYgBrE5vGH+nHBv0OR1I+InJBCFe3HeBaSVYy3wtIL
 g1Kw6l3EpSJAbMEAAEKAB0WIQSWKdfHnHcAucb08LDUyrJbtV/QdgUCaxObxgAKCRDUyrJbtV/Q
 dgSeC/wNtY7qWiarcjw+OO/7VTKPQPCezw09nv4jD2+ZrtvpnI685Hzncx7uRX2ZbLePCz9S/+M
 VT7+P83Zrv6RzS6LAcmkMnucOmyk1UfwDPRgJO3KPwKKvLCubOXPxO8p6kl66OUt5we0Y9Bsp0p
 c98wG8/whRuaijfPDnPxCiFvH04P31bhBFiaZuAexrTbOG5cSv9GAAq2jXjnQcuaCkSwFXGKEck
 C8fUWsnD0g4brN5oYasncYAtP0viWzi5QnGYz6ZtreIfshzkE3Jt0RALEvnJk5gs3ED52qnmamX
 3+f66mfPjxMukFRXygSsKc2DPhtmSSyIdAL+fOjA7VrsCeDRgdf6K+BBwq356ULWF3um+g+9iob
 l96rapNuf04/9kfALHgAfwOS2D9q73mOmnTJglWxRQSzQKn1CKTpbYUUeX+9jq4RqSVCg1XxF5y
 lvJm6eRtlLLS/L0cpwXSklR+HoHuRZzqo0pCDPguc914/AM+hw41q3vBpxaK/md0vualY=
X-Developer-Key: i=kalash@nexthop.ai; a=openpgp;
 fpr=9629D7C79C7700B9C6F4F0B0D4CAB25BB55FD076
X-Endpoint-Received: by B4 Relay for kalash@nexthop.ai/default with
 auth_id=1588
X-Original-From: Kalash Nainwal <kalash@nexthop.ai>
X-Reply-To: kalash@nexthop.ai