🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #27251

[PATCH net-next v4 2/2] selftests: net: add tcp_bound_dev_listener test

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

Check that a TCP listener bound to a device takes the connections that
arrive on it when an unbound listener shares the port with
SO_REUSEPORT, in both listener creation orders, for IPv4 and IPv6:

- in a VRF (tcp_l3mdev_accept=1), a listener bound to the VRF or to the
  VRF slave device wins, and an unbound listener alone still accepts;
- in the default VRF, a listener bound to the ingress device wins, and
  one bound to the VRF never does;
- in a VRF, a listener bound to the VRF with SO_BINDTODEVICE only after
  listen() also wins.

Add a --bind-after-listen option to nettest for the last case.

Signed-off-by: Kalash Nainwal <kalash@nexthop.ai>
---
 tools/testing/selftests/net/Makefile               |   1 +
 tools/testing/selftests/net/nettest.c              |  17 +-
 .../selftests/net/tcp_bound_dev_listener.sh        | 308 +++++++++++++++++++++
 3 files changed, 324 insertions(+), 2 deletions(-)

diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile
index 4409ecaf0b5f..8116fb9024f3 100644
--- a/tools/testing/selftests/net/Makefile
+++ b/tools/testing/selftests/net/Makefile
@@ -109,6 +109,7 @@ TEST_PROGS := \
 	srv6_hl2encap_red_l2vpn_test.sh \
 	srv6_iptunnel_cache.sh \
 	stress_reuseport_listen.sh \
+	tcp_bound_dev_listener.sh \
 	tcp_ecmp_failover.sh \
 	tcp_fastopen_backup_key.sh \
 	test_bridge_backup_port.sh \
diff --git a/tools/testing/selftests/net/nettest.c b/tools/testing/selftests/net/nettest.c
index 1f5227f3d64d..a3145d067999 100644
--- a/tools/testing/selftests/net/nettest.c
+++ b/tools/testing/selftests/net/nettest.c
@@ -78,7 +78,8 @@ struct sock_args {
 		     has_expected_raddr:1,
 		     bind_test_only:1,
 		     client_dontroute:1,
-		     server_dontroute:1;
+		     server_dontroute:1,
+		     bind_after_listen:1;
 
 	unsigned short port;
 
@@ -1507,7 +1508,8 @@ static int lsock_init(struct sock_args *args)
 	if (args->server_dontroute && set_dontroute(sd) != 0)
 		goto err;
 
-	if (args->dev && bind_to_device(sd, args->dev) != 0)
+	if (args->dev && !args->bind_after_listen &&
+	    bind_to_device(sd, args->dev) != 0)
 		goto err;
 	else if (args->use_setsockopt &&
 		 set_unicast_if(sd, args->ifindex, args->version))
@@ -1527,6 +1529,10 @@ static int lsock_init(struct sock_args *args)
 		goto err;
 	}
 
+	if (args->dev && args->bind_after_listen &&
+	    bind_to_device(sd, args->dev) != 0)
+		goto err;
+
 	flags = fcntl(sd, F_GETFL);
 	if ((flags < 0) || (fcntl(sd, F_SETFL, flags|O_NONBLOCK) < 0)) {
 		log_err_errno("Failed to set non-blocking option");
@@ -1936,12 +1942,14 @@ static int ipc_parent(int cpid, int fd, struct sock_args *args)
 #define OPT_NO_BIND_KEY_IFINDEX 1002
 #define OPT_CLIENT_DONTROUTE 1003
 #define OPT_SERVER_DONTROUTE 1004
+#define OPT_BIND_AFTER_LISTEN 1005
 
 static struct option long_opts[] = {
 	{"force-bind-key-ifindex", 0, 0, OPT_FORCE_BIND_KEY_IFINDEX},
 	{"no-bind-key-ifindex", 0, 0, OPT_NO_BIND_KEY_IFINDEX},
 	{"client-dontroute", 0, 0, OPT_CLIENT_DONTROUTE},
 	{"server-dontroute", 0, 0, OPT_SERVER_DONTROUTE},
+	{"bind-after-listen", 0, 0, OPT_BIND_AFTER_LISTEN},
 	{0, 0, 0, 0}
 };
 
@@ -1993,6 +2001,8 @@ static void print_usage(char *prog)
 	"    --server-dontroute: don't use gateways for server socket: send\n"
 	"                        packets only if destination is on link (see\n"
 	"                        SO_DONTROUTE in socket(7))\n"
+	"    --bind-after-listen: bind the server socket to the -I device\n"
+	"                         after listen() instead of before bind()\n"
 	"\n"
 	"    -g grp        multicast group (e.g., 239.1.1.1)\n"
 	"    -i            interactive mode (default is echo and terminate)\n"
@@ -2121,6 +2131,9 @@ int main(int argc, char *argv[])
 		case OPT_SERVER_DONTROUTE:
 			args.server_dontroute = 1;
 			break;
+		case OPT_BIND_AFTER_LISTEN:
+			args.bind_after_listen = 1;
+			break;
 		case 'X':
 			args.client_pw = optarg;
 			break;
diff --git a/tools/testing/selftests/net/tcp_bound_dev_listener.sh b/tools/testing/selftests/net/tcp_bound_dev_listener.sh
new file mode 100755
index 000000000000..3d155109e3a9
--- /dev/null
+++ b/tools/testing/selftests/net/tcp_bound_dev_listener.sh
@@ -0,0 +1,308 @@
+#!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
+#
+# Test that a TCP listener bound to a device takes the connections that
+# arrive on that device, also when an unbound listener uses SO_REUSEPORT
+# on the same port, whichever of the two was created first, and also when
+# the listener is bound to the device only after listen().
+#
+# Connections that arrive in a VRF (with tcp_l3mdev_accept=1) must go to
+# a listener bound to the VRF or to the VRF slave device. Connections in
+# the default VRF must go to a listener bound to the ingress device, and
+# never to one bound to the VRF.
+#
+#  ns_c (client in VRF)       ns_s (server)       ns_d (client, default VRF)
+#      veth0 ------------- veth_vrf [vrf red]
+#                             veth_def ----------------- veth0
+
+# ns_s, ns_c and ns_d are assigned by setup_ns, and the test functions
+# are called through ALL_TESTS.
+# shellcheck disable=SC2154,SC2329
+
+source lib.sh
+
+PORT=12345
+VRF=red
+VRF_TABLE=1000
+
+VRF_SRV4=172.16.1.1
+VRF_CLI4=172.16.1.2
+DEF_SRV4=172.16.2.1
+DEF_CLI4=172.16.2.2
+VRF_SRV6=2001:db8:1::1
+VRF_CLI6=2001:db8:1::2
+DEF_SRV6=2001:db8:2::1
+DEF_CLI6=2001:db8:2::2
+
+# Servers that must not get a connection are stopped by the test, so this
+# only needs to be longer than any wait before the client connects.
+SRV_TIMEOUT=20
+
+ALL_TESTS="
+	vrf_unbound_only
+	vrf_bound_listener
+	vrf_slave_bound_listener
+	default_dev_bound_listener
+	default_vrf_bound_listener
+	vrf_bound_after_listen
+"
+
+cleanup()
+{
+	cleanup_all_ns
+}
+
+setup_fail()
+{
+	echo "FAIL: setup"
+	exit "$ksft_fail"
+}
+
+setup()
+{
+	setup_ns ns_s ns_c ns_d || exit "$ksft_skip"
+
+	if ! ip -n "$ns_s" link add "$VRF" type vrf table "$VRF_TABLE"; then
+		echo "SKIP: VRF not supported"
+		exit "$ksft_skip"
+	fi
+
+	ip -n "$ns_s" -batch - <<-EOF || setup_fail
+		link set $VRF up
+		link add veth_vrf type veth peer name veth0 netns $ns_c
+		link set veth_vrf master $VRF
+		link set veth_vrf up
+		addr add $VRF_SRV4/24 dev veth_vrf
+		addr add $VRF_SRV6/64 dev veth_vrf nodad
+		link add veth_def type veth peer name veth0 netns $ns_d
+		link set veth_def up
+		addr add $DEF_SRV4/24 dev veth_def
+		addr add $DEF_SRV6/64 dev veth_def nodad
+	EOF
+
+	ip -n "$ns_c" -batch - <<-EOF || setup_fail
+		link set veth0 up
+		addr add $VRF_CLI4/24 dev veth0
+		addr add $VRF_CLI6/64 dev veth0 nodad
+	EOF
+
+	ip -n "$ns_d" -batch - <<-EOF || setup_fail
+		link set veth0 up
+		addr add $DEF_CLI4/24 dev veth0
+		addr add $DEF_CLI6/64 dev veth0 nodad
+	EOF
+
+	ip netns exec "$ns_s" sysctl -wq net.ipv4.tcp_l3mdev_accept=1 ||
+		setup_fail
+}
+
+# Start a server in the background. nettest sets SO_REUSEPORT on its
+# listeners, so an unbound and a device-bound listener can share the port.
+# $1: IP version, $2: device to bind to, or "unbound", $3...: more
+# nettest options
+start_server()
+{
+	local args=()
+
+	[ "$1" = 6 ] && args+=(-6)
+	[ "$2" != unbound ] && args+=(-I "$2")
+	args+=("${@:3}")
+	ip netns exec "$ns_s" nettest "${args[@]}" -s -p "$PORT" \
+		-t "$SRV_TIMEOUT" -q &
+}
+
+# Stop a server, ignoring its exit code.
+stop_server()
+{
+	kill "$1" 2>/dev/null
+	wait "$1" 2>/dev/null
+}
+
+# Stop a server that must not have received a connection. It must still
+# be running: had it accepted the connection or timed out, it would have
+# exited.
+# $1: pid, $2: name for the error message
+stop_idle_server()
+{
+	kill -0 "$1" 2>/dev/null
+	check_err $? "$2 exited, expected it to still be waiting"
+	stop_server "$1"
+}
+
+# $1: client netns, $2: IP version, $3: server address
+connect()
+{
+	local args=()
+
+	[ "$2" = 6 ] && args+=(-6)
+	ip netns exec "$1" nettest "${args[@]}" -r "$3" -p "$PORT" -t 2 -q
+}
+
+listeners_are()
+{
+	local n
+
+	n=$(ip netns exec "$ns_s" ss -Hltn "sport = :$PORT" | wc -l)
+	[ "$n" -eq "$1" ]
+}
+
+# $1: number of listeners to wait for on $PORT
+wait_listeners()
+{
+	slowwait 2 listeners_are "$1"
+}
+
+listener_bound_to()
+{
+	ip netns exec "$ns_s" ss -Hltn "sport = :$PORT" | grep -q "%$1:"
+}
+
+# $1: "vrf" or "def", $2: IP version
+server_addr()
+{
+	case "$1$2" in
+	vrf4) echo "$VRF_SRV4" ;;
+	vrf6) echo "$VRF_SRV6" ;;
+	def4) echo "$DEF_SRV4" ;;
+	def6) echo "$DEF_SRV6" ;;
+	esac
+}
+
+vrf_unbound_only()
+{
+	local ver pid
+
+	for ver in 4 6; do
+		RET=0
+		start_server "$ver" unbound
+		pid=$!
+		if wait_listeners 1; then
+			connect "$ns_c" "$ver" "$(server_addr vrf "$ver")"
+			check_err $? "VRF connection failed"
+			wait "$pid"
+			check_err $? "unbound listener did not get the conn"
+		else
+			check_err 1 "listener did not start"
+			stop_server "$pid"
+		fi
+		log_test "IPv$ver: VRF conn, unbound only, unbound wins"
+	done
+}
+
+# An unbound listener and a listener bound to a device on the port, in
+# both creation orders. One connection is made, and exactly the expected
+# listener must get it.
+# $1: client netns, $2: "vrf" or "def" (server address to connect to),
+# $3: device to bind the second listener to, $4: expected winner, $3 or
+# "unbound"
+two_listeners()
+{
+	local cli=$1 net=$2 dev=$3 winner=$4
+	local ver order first second pid_first pid_second
+	local pid_win pid_lose loser label="VRF conn"
+
+	[ "$net" = def ] && label="default conn"
+	for ver in 4 6; do
+		for order in "unbound $dev" "$dev unbound"; do
+			read -r first second <<< "$order"
+			RET=0
+
+			pid_second=
+			start_server "$ver" "$first"
+			pid_first=$!
+			if wait_listeners 1; then
+				start_server "$ver" "$second"
+				pid_second=$!
+			fi
+			if [ -z "$pid_second" ] || ! wait_listeners 2; then
+				check_err 1 "listeners did not start"
+				stop_server "$pid_first"
+				[ -n "$pid_second" ] &&
+					stop_server "$pid_second"
+				log_test "IPv$ver: $label, $first first"
+				continue
+			fi
+
+			if [ "$first" = "$winner" ]; then
+				pid_win=$pid_first
+				pid_lose=$pid_second
+				loser=$second
+			else
+				pid_win=$pid_second
+				pid_lose=$pid_first
+				loser=$first
+			fi
+
+			connect "$cli" "$ver" "$(server_addr "$net" "$ver")"
+			check_err $? "connection failed"
+			wait "$pid_win"
+			check_err $? "$winner listener did not get the conn"
+			stop_idle_server "$pid_lose" "$loser listener"
+
+			log_test "IPv$ver: $label, $first first, $winner wins"
+		done
+	done
+}
+
+vrf_bound_listener()
+{
+	two_listeners "$ns_c" vrf "$VRF" "$VRF"
+}
+
+vrf_slave_bound_listener()
+{
+	two_listeners "$ns_c" vrf veth_vrf veth_vrf
+}
+
+default_dev_bound_listener()
+{
+	two_listeners "$ns_d" def veth_def veth_def
+}
+
+default_vrf_bound_listener()
+{
+	two_listeners "$ns_d" def "$VRF" unbound
+}
+
+# A listener that is bound to the VRF only after listen() must be preferred
+# too. It is started first, and bound before the unbound listener starts,
+# so that the two are not in the same reuseport group.
+vrf_bound_after_listen()
+{
+	local ver pid_bound pid_unbound
+
+	for ver in 4 6; do
+		RET=0
+
+		pid_unbound=
+		start_server "$ver" "$VRF" --bind-after-listen
+		pid_bound=$!
+		if slowwait 2 listener_bound_to "$VRF"; then
+			start_server "$ver" unbound
+			pid_unbound=$!
+		fi
+		if [ -z "$pid_unbound" ] || ! wait_listeners 2; then
+			check_err 1 "listeners did not start"
+			stop_server "$pid_bound"
+			[ -n "$pid_unbound" ] && stop_server "$pid_unbound"
+			log_test "IPv$ver: VRF conn, $VRF bound after listen"
+			continue
+		fi
+
+		connect "$ns_c" "$ver" "$(server_addr vrf "$ver")"
+		check_err $? "connection failed"
+		wait "$pid_bound"
+		check_err $? "$VRF listener did not get the conn"
+		stop_idle_server "$pid_unbound" "unbound listener"
+
+		log_test "IPv$ver: VRF conn, $VRF bound after listen, $VRF wins"
+	done
+}
+
+trap cleanup EXIT
+
+check_gen_prog nettest
+setup
+tests_run
+
+exit "$EXIT_STATUS"

-- 
2.43.0
Technical Details
Message-ID: <20261204-tcp-l3mdev-exempt-ports-v4-2-b2d4465a937c@nexthop.ai>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!feeder2.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377839-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!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!feeder2.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377839-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 2/2] selftests: net: add tcp_bound_dev_listener test
Date: Fri, 04 Dec 2026 22:06:15 -0700
Organization: Usenet Network
Message-ID: <20261204-tcp-l3mdev-exempt-ports-v4-2-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="2958060"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:FBw0JN+32snmo/Eog5+VdeP3WWc= sha256:281qCe76Dh5b0LBWEehD4f+W9kcTFVZuYd+481EuUrY= sha1:STbXOnaLtlp5g8iCPAeryXhAEgI= sha256:PQqc+pWuCuWZ3CU4g+fU56hh+j4dbCPgDKAxHiB/w8k=
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 60EA9117D76; 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.541
X-Spam-Status: No, score=-3.541 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, 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, URIBL_BLOCKED=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 SCc69sAJFofk; Sat,  5 Dec 2026 08:06:35 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-377839-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 4018C117D70; Sat,  5 Dec 2026 08:06:26 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id C1BB928AFB; Sat,  5 Dec 2026 05:06:21 +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=1796447178; b=xZP7gKgfaDcH39cxe9lq7RiqxuJQ2Opmvc9SeZyn/usJyvVotloAso3sgHNUkbxH+/4g maBgPZETA16pKxr6UhbavCeO9RqkyOWlIWadaZ5zgh92lJio1QfqKM6mc78cW4engOBrl baxvShJq2CIbAMxoI7Pl+JcHb9G8okchGryqvIHkZWRZo+eQBMUrS2lR279loFY+kA1u3 F/NkacZ6/45fb7YvRNcgmTy7UpEOKcf41/ri/7ycOOXF5waJAj6wX75ufZRDNnXBAL4Hl oBpAli8n9rEgmXhAEHCLAoyJedWdW9WapexP4+mDxwfsZq5fHA37N/M/iL8sL9EsrFA==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796447178; 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=0G9XlwWYsGKpoCoJJbsnGhBtJ/lB+O9baivFCpxwyOc=; b=RM0skOgZ4oByuuKfbs4U6bYyTpT0WJjKdMyHYBAVrBi2aS783Vj0Yd+M1ecaJdBELgJP W0apOlT1xH1ofZCWlwL7nH/0CobV+wEka8ravxZrawmmTQKhjM6QSO8Zi6VipHZUmdhAg dz7rnDHbX5gUWf2fVhUhTT1LNpfbrfgu0COkVwrHeCFfyC55jSQOW9jGHekWrvVk7iCoX Hh/AFO9RCbhY9Pjj1PDa+spNdN1whVSGgjb7O6IovjopNb//XaUC1N06eykfBW0tDrr7O vG1wTtiEt+Thjs6BpdJ3P3+gkXQkU2InIsWtpA+NLqewDWO15Mrfvug5z5Z/N1EmpXA==
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="hDmimW+/"; 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 A4B1B606A69F; Sat,  5 Dec 2026 05:06:18 +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=hDmimW+/
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=JbvRpM8IF0CFSSfAWw241JcWp3q99FUAnBjyUcPjHxsQos4zKm+f6blyKJdB66CFxpFB SeGk8H69sSO/jWXD+VR9uO309DB5hOo2HlVIKal8nnOdVXYIZWKp1sGdi3mIaspYlj8NH AZQIAds/dSGXjStrZ6ywe+BoUXpPXmFVHVUA5Amerq57EVUQaY61wD72rHw3PkFrIJpSh +m9bhtoD30z07/TX3VpV6t/TKyGZVDzrn7QfgtawU24GoHVt99dAKPBJivGrFWkTI9hyL WkaMr8bedPnZsoVNgNIc8CJ4jNbD1Rrg+4H7X/el80CEiJRf5MZ8Y7VCzxnFNQp3CBQ==
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=0G9XlwWYsGKpoCoJJbsnGhBtJ/lB+O9baivFCpxwyOc=; b=4MaB9scbrbfZz59QRSTgHzXYOc16FLsCI79NEhQU5Ispi6iuvHZim0hbsSUfz6WQV6SO Pp8du7XTcaME0l30HeQQ8we2WaDEF14dUG9ExQkGfJOEpiIcb5OuO/XjXA7ksNijeXTA1 sdfKFBC9N5iFrrj0cJ7Iht24HvpkXjl33ptoqo+dPOsEy22o8CyX7TkfkPXRhZEiJhKiy 0jj7ylp3l7cD7Xszes0Scyd/SAuWEqbSusSAGZ8rxjwMlKiYjuq0YcIgEHqBsIt6nkoqM QSahnukHfXvaQmzG5jPBuKmf7BxvoL2HdDvyUJbwP6/2Bes2XR3zjCgeX9jXAiIbl3g==
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="hDmimW+/"; 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 C3068606A33B; 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=CC2mgH8ue2DZqAaSh6Lo1BdyS3J2yQ215R9ZtAu8F5zZw3EM8K8Er8xM66tooftKGHGX BT2EMYDKkb4ZMS40iYLeWseS695aWaL8hMb+mvsWP2iYbdFLg1D3cRMIPm6VEvDRFcp6Y wpWiInWOBItuNkabP+IntzzzNlerRMAIHf2/9M23JC6dY7MCE+3LsnqQDCMfYMcIFWjlg +QtVjZdxnJbtgdyu3n3lGeURi6QQ4xbNGgsFakwHJaK+N1illdv9MfoxUUxAmRgzVcKhE vIWMGOtsP5ATi5ji5uiXy5UnnFvvFYaW+fvh3h4c7luAX9S3b3wsQW/4yE6MaI8qX3w==
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=0G9XlwWYsGKpoCoJJbsnGhBtJ/lB+O9baivFCpxwyOc=; b=ogF0iokdx3mKynT1MhgdH6gC6F2ma6E5s1HjW+eit1ZNKEANidYDTNbkZNazA0yBKpRl gW9lD6nPI20V0p8p/OXVlQs5HS7T6PR8Y3My/vLAhQKrLbMsy25RLiELJwWeTPAsGZsAP Go/X7Tpf3zVrO4++SIxnyAhXBXdCV6Gt8F6lqw3qJGtsm6KeLVpBR17dggbqOnrjMQ8Mm dl2XhJ0a6cAAEDQOZv2Bmdjc3yPdzZ9+c0W9HeMtoZG/1AQV4+JvJrT3yxD8ksrbXmj5Z c61tzm7PiRnlYULHQ5ieuUzY9sHwkopfIahcllYFwBoMNLcq9V25Z69+JXWKbAu+puw==
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 85C001F00A10; 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=0G9XlwWYsGKpoCoJJbsnGhBtJ/lB+O9baivFCpxwyOc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To; b=hDmimW+/7ogSl+6OKUw3A7OV8pmtfUCMpEluSJyDDOIbxMdXkkGmLO9afvjqDL2aR rRk5hp7FE/ofZKLN9CF0zz6NjP9bj1NLz1PRS+FB93EAGgp/E0lID7T3w6Elp1q1kD 3kOWWtz+hazsBjHQpx866+9mIs0H3Iaul4A2n+uuQ3LH9BdevQSPGOagf22/rDBO+p 4EriTGW6cRQShahi1KAcR6o+DyN3DZ2iTlinWIBUAsxXXgRNiZ/dtaOwY8iEQk9rAh 6pXtNSZxL0prDKMvGdFja2MtJ2CU/WpL+AUbXMrYMP7IuX0hutyATuxDYASmiquQx+ PYq/OdsDIbCGg==
X-Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id 13B0F5019D; Sat,  5 Dec 2026 05:06:16 +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=12333; i=kalash@nexthop.ai; h=from:subject:message-id; bh=MubHrGFUHy/Tz7NhTzFIR12KY0zETC0HMS813V289v0=; b=owEB7QES/pANAwAKAdTKslu1X9B2AcsmYgBrE5vGET6RooLtsVcApAuXfL/bXl1MEqZ5TazjJ xyVJX31sTiJAbMEAAEKAB0WIQSWKdfHnHcAucb08LDUyrJbtV/QdgUCaxObxgAKCRDUyrJbtV/Q dttADACiQazxcak4i8pMiP+bOujnW0eadSDb38mJvf8i/85hi9bTBnX19uhDGC0oeK0DDF1Q86p u0HLn0QECtkOGyA7/HBcgeNc42wuKFGFBVDqOY2R0u30keOIw4xnXJ8oS/KRgj0fjGKes4ET0Sz id6pBHL2QwabvTXQAYxieIcJwj+FELolyAPfGdLIsZF1GRi6ue4oU1IJ/8xrayRt4gaFvjSEIvG t9WbAFmG1hUkvFrNtuBZUTjBoaGDxspPR9rMbH5Qhtze8bVEkDg3oKKNLBmmf1akMQo/xKxAOIM yyjqKQa1hX5viq2t0c+ZcJyUx7m9NZyzmwkYBxapd39HLLnnf6JhiTAV4n4JPbK7DcroKqjKKDD qgQCGltM7MK6sybdswqAVJ+nJVnGWiThvkbA/YVWVuntEJfphlZtqTFDuauhe9qQiYckymVj02K +EwItpBCJiXwGz7AA4fWsSRGNWdXwzhC3w/dnr1mQ8t/uOPGe4JfXmmfYgfAvtEj0VKe4=
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