🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #18932

[PATCH nf v3] ipvs: avoid wrapping persistent service timeouts

#18932
From: Yingjie Wang
Date: Thu, 19 Nov 2026 03:22
246 lines
37362 bytes
ip_vs_add_service() and ip_vs_edit_service() convert an unchecked u32
timeout from seconds to jiffies with u->timeout * HZ. Both operands are
unsigned int, so values above UINT_MAX / HZ wrap.

With HZ=1000, 4294968 seconds becomes 704 jiffies and is reported back
as 0 seconds. Persistence templates copy svc->timeout, so their timer is
armed for 0.7 seconds and a client can be moved to another real server
long before the configured timeout.

ipvsadm limits service persistence and protocol timeouts to 31 days.
Enforce the same limit in the kernel and reject larger values with
-EINVAL. Convert accepted values through a common helper that clamps
them to MAX_JIFFY_OFFSET / HZ on 32-bit systems. Use the helper for
timeouts received from the synchronization protocol as well, since those
values do not pass through the service configuration checks.

Change the service timeout and protocol timeout tables to unsigned long
because they store jiffies. With HZ=1000, 31 days is 2678400000 jiffies,
which does not fit in the signed int used by the protocol tables. This
also allows the global protocol timeout interface to represent the full
31-day range on 64-bit systems.

The overflow was reproduced in an x86-64 QEMU guest with HZ=1000. A
persistent one-packet UDP service was set to 4294968 seconds, and two
datagrams sent 1.5 seconds apart were directed to different real servers
after the template expired.

On the x86-64 test kernel with HZ=1000, 2678401-second service timeouts
were accepted and 4294968 seconds read back as 0, while a 2678400-second
protocol timeout was rejected. With this change, 2678401 and 4294968
seconds are rejected, a failed edit leaves the previous service timeout
unchanged, and 2678400-second service and protocol timeouts read back
unchanged.

On an i386 test kernel with HZ=1000, the accepted 2678400-second values
were clamped to 1073741 seconds by the 32-bit jiffy limit and read back
as such through both interfaces.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Suggested-by: Julian Anastasov <ja@ssi.bg>
Link: https://lore.kernel.org/r/5fa37fba-530c-2c5b-038e-9cb95e34023d@ssi.bg
Signed-off-by: Yingjie Wang <x-professor@outlook.com>
---

Notes:
    Changes in v3:
    - Remove the jiffies.h include, as requested by Julian Anastasov.
    - Rebase after f3aff3d80b579 ("ipvs: update flags and seqs in backup
      server under lock").
    
    v2: https://lore.kernel.org/r/969309eb180c2e577dd6bb54a7d28afcbb2efeb3.1793513714.git.x-professor@outlook.com
    v1: https://lore.kernel.org/r/4f420fda8690ac470be44b3da284b65501c77bb5.1793430892.git.x-professor@outlook.com
    
    Based on nf/for-netdev-nf-26-11-16 at 5367e14e92bb.
    
    Retested service and protocol timeout boundaries on x86-64 and i386
    with HZ=1000. On x86-64, also exercised incoming synchronization records
    for new and existing connections/templates, values above 31 days, and
    the zero-timeout template default, with KASAN and lockdep enabled.
    Built the IPVS directory with W=1 under x86-64 allmodconfig and
    allyesconfig. The kernel IPVS selftest was not run.

 include/net/ip_vs.h                   | 19 ++++++++++++---
 net/netfilter/ipvs/ip_vs_app.c        |  3 +--
 net/netfilter/ipvs/ip_vs_ctl.c        | 35 ++++++++++++++++-----------
 net/netfilter/ipvs/ip_vs_proto.c      |  4 +--
 net/netfilter/ipvs/ip_vs_proto_sctp.c |  6 ++---
 net/netfilter/ipvs/ip_vs_proto_tcp.c  |  6 ++---
 net/netfilter/ipvs/ip_vs_proto_udp.c  |  6 ++---
 net/netfilter/ipvs/ip_vs_sync.c       |  6 ++---
 8 files changed, 51 insertions(+), 34 deletions(-)

diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index 8dc80d5d42dc..47a753d76fe5 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -55,6 +55,18 @@
 #define IP_VS_CONN_MAX	(1 << 24)
 #endif
 
+/* All timeouts up to 31 days */
+#define IP_VS_TIMEOUT_MAX_SECS	(86400U * 31)
+
+static inline unsigned long ip_vs_timeout_ticks(unsigned int secs)
+{
+	secs = min_t(unsigned int, secs, IP_VS_TIMEOUT_MAX_SECS);
+#if BITS_PER_LONG <= 32
+	secs = min_t(unsigned int, secs, MAX_JIFFY_OFFSET / HZ);
+#endif
+	return (unsigned long)secs * HZ;
+}
+
 /* svc_table limits */
 #define IP_VS_SVC_TAB_MIN_BITS	4
 #define IP_VS_SVC_TAB_MAX_BITS	20
@@ -776,7 +788,7 @@ struct ip_vs_protocol {
 struct ip_vs_proto_data {
 	struct ip_vs_proto_data	*next;
 	struct ip_vs_protocol	*pp;
-	int			*timeout_table;	/* protocol timeout table */
+	unsigned long		*timeout_table;	/* protocol timeout table */
 	atomic_t		appcnt;		/* counter of proto app incs. */
 	struct tcp_states_t	*tcp_state_table;
 };
@@ -938,7 +950,7 @@ struct ip_vs_service {
 	atomic_t		refcnt;   /* reference counter */
 	__be16			port;	  /* port number for the service */
 	unsigned int		flags;	  /* service status flags */
-	unsigned int		timeout;  /* persistent timeout in ticks */
+	unsigned long		timeout;  /* persistent timeout in ticks */
 	__be32			netmask;  /* grouping granularity, mask/plen */
 	struct netns_ipvs	*ipvs;
 
@@ -1845,7 +1857,8 @@ struct ip_vs_pe *__ip_vs_pe_getbyname(const char *pe_name);
 int ip_vs_protocol_init(void);
 void ip_vs_protocol_cleanup(void);
 void ip_vs_protocol_timeout_change(struct netns_ipvs *ipvs, int flags);
-int *ip_vs_create_timeout_table(int *table, int size);
+unsigned long *ip_vs_create_timeout_table(const unsigned long *table,
+					  size_t size);
 void ip_vs_tcpudp_debug_packet(int af, struct ip_vs_protocol *pp,
 			       const struct sk_buff *skb, int offset,
 			       const char *msg);
diff --git a/net/netfilter/ipvs/ip_vs_app.c b/net/netfilter/ipvs/ip_vs_app.c
index 2c1b47702da2..918d9936d814 100644
--- a/net/netfilter/ipvs/ip_vs_app.c
+++ b/net/netfilter/ipvs/ip_vs_app.c
@@ -93,8 +93,7 @@ ip_vs_app_inc_new(struct netns_ipvs *ipvs, struct ip_vs_app *app, __u16 proto,
 
 	if (app->timeouts) {
 		inc->timeout_table =
-			ip_vs_create_timeout_table(app->timeouts,
-						   app->timeouts_size);
+			kmemdup(app->timeouts, app->timeouts_size, GFP_KERNEL);
 		if (!inc->timeout_table) {
 			ret = -ENOMEM;
 			goto out;
diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c
index be818bf7d380..9c53ce6103a5 100644
--- a/net/netfilter/ipvs/ip_vs_ctl.c
+++ b/net/netfilter/ipvs/ip_vs_ctl.c
@@ -1832,6 +1832,9 @@ ip_vs_add_service(struct netns_ipvs *ipvs, struct ip_vs_service_user_kern *u,
 	int ret = 0;
 	bool grow;
 
+	if (u->timeout > IP_VS_TIMEOUT_MAX_SECS)
+		return -EINVAL;
+
 	/* increase the module use count */
 	if (!ip_vs_use_count_inc())
 		return -ENOPROTOOPT;
@@ -1930,7 +1933,7 @@ ip_vs_add_service(struct netns_ipvs *ipvs, struct ip_vs_service_user_kern *u,
 	svc->port = u->port;
 	svc->fwmark = u->fwmark;
 	svc->flags = u->flags & ~IP_VS_SVC_F_HASHED;
-	svc->timeout = u->timeout * HZ;
+	svc->timeout = ip_vs_timeout_ticks(u->timeout);
 	svc->netmask = u->netmask;
 	svc->ipvs = ipvs;
 
@@ -2037,6 +2040,9 @@ ip_vs_edit_service(struct ip_vs_service *svc, struct ip_vs_service_user_kern *u)
 	struct netns_ipvs *ipvs = svc->ipvs;
 	int af_id = ip_vs_af_index(svc->af);
 
+	if (u->timeout > IP_VS_TIMEOUT_MAX_SECS)
+		return -EINVAL;
+
 	/*
 	 * Lookup the scheduler, by 'u->sched_name'
 	 */
@@ -2097,7 +2103,7 @@ ip_vs_edit_service(struct ip_vs_service *svc, struct ip_vs_service_user_kern *u)
 	 * Set the flags and timeout value
 	 */
 	svc->flags = u->flags | IP_VS_SVC_F_HASHED;
-	svc->timeout = u->timeout * HZ;
+	svc->timeout = ip_vs_timeout_ticks(u->timeout);
 	svc->netmask = u->netmask;
 
 	old_pe = rcu_dereference_protected(svc->pe, 1);
@@ -3136,9 +3142,8 @@ static int ip_vs_info_seq_show(struct seq_file *seq, void *v)
 		}
 
 		if (svc->flags & IP_VS_SVC_F_PERSISTENT)
-			seq_printf(seq, "persistent %d %08X\n",
-				svc->timeout,
-				ntohl(svc->netmask));
+			seq_printf(seq, "persistent %lu %08X\n",
+				   svc->timeout, ntohl(svc->netmask));
 		else
 			seq_putc(seq, '\n');
 
@@ -3437,36 +3442,38 @@ static int ip_vs_set_timeout(struct netns_ipvs *ipvs, struct ip_vs_timeout_user
 		  u->udp_timeout);
 
 #ifdef CONFIG_IP_VS_PROTO_TCP
-	if (u->tcp_timeout < 0 || u->tcp_timeout > (INT_MAX / HZ) ||
-	    u->tcp_fin_timeout < 0 || u->tcp_fin_timeout > (INT_MAX / HZ)) {
+	if (u->tcp_timeout < 0 ||
+	    u->tcp_timeout > IP_VS_TIMEOUT_MAX_SECS ||
+	    u->tcp_fin_timeout < 0 ||
+	    u->tcp_fin_timeout > IP_VS_TIMEOUT_MAX_SECS) {
 		return -EINVAL;
 	}
 #endif
 
 #ifdef CONFIG_IP_VS_PROTO_UDP
-	if (u->udp_timeout < 0 || u->udp_timeout > (INT_MAX / HZ))
+	if (u->udp_timeout < 0 || u->udp_timeout > IP_VS_TIMEOUT_MAX_SECS)
 		return -EINVAL;
 #endif
 
 #ifdef CONFIG_IP_VS_PROTO_TCP
 	if (u->tcp_timeout) {
 		pd = ip_vs_proto_data_get(ipvs, IPPROTO_TCP);
-		pd->timeout_table[IP_VS_TCP_S_ESTABLISHED]
-			= u->tcp_timeout * HZ;
+		pd->timeout_table[IP_VS_TCP_S_ESTABLISHED] =
+			ip_vs_timeout_ticks(u->tcp_timeout);
 	}
 
 	if (u->tcp_fin_timeout) {
 		pd = ip_vs_proto_data_get(ipvs, IPPROTO_TCP);
-		pd->timeout_table[IP_VS_TCP_S_FIN_WAIT]
-			= u->tcp_fin_timeout * HZ;
+		pd->timeout_table[IP_VS_TCP_S_FIN_WAIT] =
+			ip_vs_timeout_ticks(u->tcp_fin_timeout);
 	}
 #endif
 
 #ifdef CONFIG_IP_VS_PROTO_UDP
 	if (u->udp_timeout) {
 		pd = ip_vs_proto_data_get(ipvs, IPPROTO_UDP);
-		pd->timeout_table[IP_VS_UDP_S_NORMAL]
-			= u->udp_timeout * HZ;
+		pd->timeout_table[IP_VS_UDP_S_NORMAL] =
+			ip_vs_timeout_ticks(u->udp_timeout);
 	}
 #endif
 	return 0;
diff --git a/net/netfilter/ipvs/ip_vs_proto.c b/net/netfilter/ipvs/ip_vs_proto.c
index 0046aed1fb38..3796cd93c028 100644
--- a/net/netfilter/ipvs/ip_vs_proto.c
+++ b/net/netfilter/ipvs/ip_vs_proto.c
@@ -185,8 +185,8 @@ void ip_vs_protocol_timeout_change(struct netns_ipvs *ipvs, int flags)
 }
 
 
-int *
-ip_vs_create_timeout_table(int *table, int size)
+unsigned long *
+ip_vs_create_timeout_table(const unsigned long *table, size_t size)
 {
 	return kmemdup(table, size, GFP_KERNEL);
 }
diff --git a/net/netfilter/ipvs/ip_vs_proto_sctp.c b/net/netfilter/ipvs/ip_vs_proto_sctp.c
index cb34bcceb4f6..abb256b92e5d 100644
--- a/net/netfilter/ipvs/ip_vs_proto_sctp.c
+++ b/net/netfilter/ipvs/ip_vs_proto_sctp.c
@@ -334,7 +334,7 @@ static const __u8 sctp_states
 #define IP_VS_SCTP_MAX_RTO	((60 + 1) * HZ)
 
 /* Timeout table[state] */
-static const int sctp_timeouts[IP_VS_SCTP_S_LAST + 1] = {
+static const unsigned long sctp_timeouts[IP_VS_SCTP_S_LAST + 1] = {
 	[IP_VS_SCTP_S_NONE]			= 2 * HZ,
 	[IP_VS_SCTP_S_INIT1]			= (0 + 3 + 1) * HZ,
 	[IP_VS_SCTP_S_INIT]			= IP_VS_SCTP_MAX_RTO,
@@ -559,8 +559,8 @@ static int sctp_app_conn_bind(struct ip_vs_conn *cp)
 static int __ip_vs_sctp_init(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd)
 {
 	ip_vs_init_hash_table(ipvs->sctp_apps, SCTP_APP_TAB_SIZE);
-	pd->timeout_table = ip_vs_create_timeout_table((int *)sctp_timeouts,
-							sizeof(sctp_timeouts));
+	pd->timeout_table =
+		ip_vs_create_timeout_table(sctp_timeouts, sizeof(sctp_timeouts));
 	if (!pd->timeout_table)
 		return -ENOMEM;
 	return 0;
diff --git a/net/netfilter/ipvs/ip_vs_proto_tcp.c b/net/netfilter/ipvs/ip_vs_proto_tcp.c
index 25d4576d0e12..2511c78a7780 100644
--- a/net/netfilter/ipvs/ip_vs_proto_tcp.c
+++ b/net/netfilter/ipvs/ip_vs_proto_tcp.c
@@ -333,7 +333,7 @@ static const int tcp_state_off[IP_VS_DIR_LAST] = {
 /*
  *	Timeout table[state]
  */
-static const int tcp_timeouts[IP_VS_TCP_S_LAST+1] = {
+static const unsigned long tcp_timeouts[IP_VS_TCP_S_LAST + 1] = {
 	[IP_VS_TCP_S_NONE]		=	2*HZ,
 	[IP_VS_TCP_S_ESTABLISHED]	=	15*60*HZ,
 	[IP_VS_TCP_S_SYN_SENT]		=	2*60*HZ,
@@ -672,8 +672,8 @@ void ip_vs_tcp_conn_listen(struct ip_vs_conn *cp)
 static int __ip_vs_tcp_init(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd)
 {
 	ip_vs_init_hash_table(ipvs->tcp_apps, TCP_APP_TAB_SIZE);
-	pd->timeout_table = ip_vs_create_timeout_table((int *)tcp_timeouts,
-							sizeof(tcp_timeouts));
+	pd->timeout_table =
+		ip_vs_create_timeout_table(tcp_timeouts, sizeof(tcp_timeouts));
 	if (!pd->timeout_table)
 		return -ENOMEM;
 	pd->tcp_state_table = tcp_states;
diff --git a/net/netfilter/ipvs/ip_vs_proto_udp.c b/net/netfilter/ipvs/ip_vs_proto_udp.c
index ab3ab9524168..3d0d8dac1da2 100644
--- a/net/netfilter/ipvs/ip_vs_proto_udp.c
+++ b/net/netfilter/ipvs/ip_vs_proto_udp.c
@@ -402,7 +402,7 @@ static int udp_app_conn_bind(struct ip_vs_conn *cp)
 }
 
 
-static const int udp_timeouts[IP_VS_UDP_S_LAST+1] = {
+static const unsigned long udp_timeouts[IP_VS_UDP_S_LAST + 1] = {
 	[IP_VS_UDP_S_NORMAL]		=	5*60*HZ,
 	[IP_VS_UDP_S_LAST]		=	2*HZ,
 };
@@ -438,8 +438,8 @@ udp_state_transition(struct ip_vs_conn *cp, int direction,
 static int __udp_init(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd)
 {
 	ip_vs_init_hash_table(ipvs->udp_apps, UDP_APP_TAB_SIZE);
-	pd->timeout_table = ip_vs_create_timeout_table((int *)udp_timeouts,
-							sizeof(udp_timeouts));
+	pd->timeout_table =
+		ip_vs_create_timeout_table(udp_timeouts, sizeof(udp_timeouts));
 	if (!pd->timeout_table)
 		return -ENOMEM;
 	return 0;
diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip_vs_sync.c
index 7e562e745ab5..cfac362a0e8a 100644
--- a/net/netfilter/ipvs/ip_vs_sync.c
+++ b/net/netfilter/ipvs/ip_vs_sync.c
@@ -864,7 +864,7 @@ static void ip_vs_proc_conn(struct netns_ipvs *ipvs, struct ip_vs_conn_param *pa
 			    unsigned int flags, unsigned int state,
 			    unsigned int protocol, unsigned int type,
 			    const union nf_inet_addr *daddr, __be16 dport,
-			    unsigned long timeout, __u32 fwmark,
+			    unsigned int timeout, __u32 fwmark,
 			    struct ip_vs_sync_conn_options *opt)
 {
 	struct ip_vs_conn *cp_new = NULL;
@@ -975,9 +975,7 @@ static void ip_vs_proc_conn(struct netns_ipvs *ipvs, struct ip_vs_conn_param *pa
 	 *  - No problem.
 	 */
 	if (timeout) {
-		if (timeout > MAX_SCHEDULE_TIMEOUT / HZ)
-			timeout = MAX_SCHEDULE_TIMEOUT / HZ;
-		cp->timeout = timeout*HZ;
+		cp->timeout = ip_vs_timeout_ticks(timeout);
 	} else {
 		struct ip_vs_proto_data *pd;
 

base-commit: 5367e14e92bbb0779612d36cce7c6e95d3bc5e68
-- 
2.43.0

Technical Details
Message-ID: <039a17bffd0d0e765d1c3e07a33083da90ffa0e3.1795058541.git.x-professor@outlook.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366704-linux-kernel-netdev=dewy.ru

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366704-linux-kernel-netdev=dewy.ru
From: x-professor@outlook.com (Yingjie Wang)
Newsgroups: linux.kernel.netdev
Subject: [PATCH nf v3] ipvs: avoid wrapping persistent service timeouts
Date: Thu, 19 Nov 2026 03:22:30 +0000
Organization: Usenet Network
Message-ID: <039a17bffd0d0e765d1c3e07a33083da90ffa0e3.1795058541.git.x-professor@outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Injection-Info: usenet.network;
	logging-data="2776060"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:ib8wcRp4Xx5KcQffWliLGwQSLKg= sha256:hD/oYiFSPY5pDnO2EBRVWsNxwH23JB1gn5OjqoSpoR4=
	sha1:OFCIl5tzrRLGJq0sw7cip3pOP54= sha256:lzsgB4Et6YqOITdmajubrDMNqHcd1p8laeJ2fDStVzg=
Content-Language: en-US
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
	X-MS-Has-Attach
	X-MS-TNEF-Correlator
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id CA0E81154CC; Thu, 19 Nov 2026 06:23:14 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, 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=outlook.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 6a3xG345v3gn;
	Thu, 19 Nov 2026 06:23:10 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-366704-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=outlook.com
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 94FC61154B5; Thu, 19 Nov 2026 06:23:01 +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 58E35242172; Thu, 19 Nov 2026 03:22:51 +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=1795058566;
	b=rHAWosStTNeKtGGpJZFw5pnpr59+VwL0bWaIO3XW54muHgfLx7RnJRxtHfMVINcgWRSy
	 soZ+cUyxY4R2pek58iktIHW7eEuMlL5MS8vysLGDcj74pNSw4/zvnDIjraiC8R5BasfeZ
	 tiSzgx8dkiWGeBvm/EMUNkbs/RJuZE9488ab7+FdFytcXraH5HLS/nj7CK1ge5iJEENqQ
	 c+uSsbjHuDF3e/Fx4facnyzEBdN6BqG1mMDZaFZJVuiaRO1QhHy1b88oNnWJngP1RmsFf
	 F/3PttLhUtHmPg2dZpWoyHJmPKIOnKwrv/JlXd4U0Hha4MM/OIUbCUabWrILJcy3NFQ==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795058566;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Received:
	 From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:
	 Accept-Language:Content-Language:X-MS-Has-Attach:X-MS-TNEF-Correlator:
	 x-ms-publictraffictype:x-ms-traffictypediagnostic:
	 x-ms-office365-filtering-correlation-id:
	 x-ms-exchange-slblob-mailprops:x-microsoft-antispam:
	 x-microsoft-antispam-message-info:
	 x-ms-exchange-antispam-messagedata-chunkcount:
	 x-ms-exchange-antispam-messagedata-0:Content-Type:
	 Content-Transfer-Encoding:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 X-OriginatorOrg:X-MS-Exchange-CrossTenant-AuthAs:
	 X-MS-Exchange-CrossTenant-AuthSource:
	 X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg:
	 X-MS-Exchange-CrossTenant-Network-Message-Id:
	 X-MS-Exchange-CrossTenant-originalarrivaltime:
	 X-MS-Exchange-CrossTenant-fromentityheader:
	 X-MS-Exchange-CrossTenant-id:
	 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg:
	 X-MS-Exchange-Transport-CrossTenantHeadersStamped;
	bh=78O68vh7roxIW4oeTLclxw5Dw98IBpkoUIAfGp7TJ4E=;
	b=Wgnz9idXLDOmyUVGiHpFgM/bGEdyHesefRDscKy3Rbo/I24eMIreohhuLyHJJYZ01XV1
	 oCK+4/CIEKz6qtOqRlX55aWo5kWd6o9THydS5bJ5lrZTjKL+IvjKtcfX9w+ku/zKPg+Xh
	 A+QA4hYsMcJ+ej8lUulC2gWG5L7oAmmCLZnV/JaegdCC6jnUSGWKezxc/f/jxsgljYJN5
	 DnsxmYfjAR52/dvhGT2g/5ZC3fMQRuSij17Xef5k6P1mVNGYSC1bt0BjeDPHTC2SMo1Ac
	 i5lsMqcaySa5KA3RUOixjRWwxUkf8Y+scdMWEnJmDTSFYs3I/ubVIq7MWuYetzAF/Pg==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=outlook.com header.i=@outlook.com header.a=rsa-sha256 header.s=selector1 header.b=nBvH+41W;
	dmarc=pass header.from=outlook.com;
	spf=pass smtp.mailfrom=outlook.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 1D1CC60A2604;
	Thu, 19 Nov 2026 03:22:46 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=outlook.com header.i=@outlook.com header.a=rsa-sha256 header.s=selector1 header.b=nBvH+41W
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.103.14.68
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795058555;
	b=G6SiczauE/FuyM0AkqxPPEdKWzkeOTW6oTVpaw2Xb0WpMy8QC0q2Q+/3UZUl76PQw+yl
	 YFrUl5JFiuGBUjOjVNC5ia3AcZALl3fcBfQS8TvZJU4OrxwpAhqDgjkTfBQANY9fuyq6N
	 Ho3C3OyCFJdc3emH2XK6r7RSF6gqDKyAzxi7fSsOXeFkWrZYzF8qiyDPZj3qFVHiHznDp
	 0EytTgEoXMx0K4fK1iqhyK1QljjT77hcdneZKD6r1+CLO+RyvLfctax3sAiZvQ82b8sDM
	 XmVL1FjglEvR5n7PXVHnQFPBkv+QrwqCw5vPp1BjNfCI9/ThqPmjUvR1TSunn1RXzpA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795058555;
	h=DMARC-Filter:DKIM-Signature:Received:Received:From:To:CC:Subject:
	 Thread-Topic:Thread-Index:Date:Message-ID:Accept-Language:
	 Content-Language:X-MS-Has-Attach:X-MS-TNEF-Correlator:
	 x-ms-publictraffictype:x-ms-traffictypediagnostic:
	 x-ms-office365-filtering-correlation-id:
	 x-ms-exchange-slblob-mailprops:x-microsoft-antispam:
	 x-microsoft-antispam-message-info:
	 x-ms-exchange-antispam-messagedata-chunkcount:
	 x-ms-exchange-antispam-messagedata-0:Content-Type:
	 Content-Transfer-Encoding:MIME-Version:X-OriginatorOrg:
	 X-MS-Exchange-CrossTenant-AuthAs:X-MS-Exchange-CrossTenant-AuthSource:
	 X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg:
	 X-MS-Exchange-CrossTenant-Network-Message-Id:
	 X-MS-Exchange-CrossTenant-originalarrivaltime:
	 X-MS-Exchange-CrossTenant-fromentityheader:
	 X-MS-Exchange-CrossTenant-id:
	 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg:
	 X-MS-Exchange-Transport-CrossTenantHeadersStamped;
	bh=78O68vh7roxIW4oeTLclxw5Dw98IBpkoUIAfGp7TJ4E=;
	b=tA9wGCTFl2wc3+5MYc4yfr4cPH1th5uF9XTo0ujYAzxaaJ5/TEhIgp1DQr2C/TMmYG30
	 R+tE0J3MLAC2/kwVHr51m5hrFoNxTQ/4680No7ljT9rwXmCMTMcGgbSb5677FRG8K6BGE
	 nBP6iSNMw+y+rz6+eK0qvNMulcf2zmP4gTHHHaoAJr/QZHvK1U01g/ImIHTmOk9oxQugy
	 KsspAO9SBHkyoQyKPNMEp3LZDF1Jd8rwzMnAEcNgG0inVhK4mDITn+7aNwJvDdyCImXJ5
	 wwOCs1xJD4WFKQAsFhyZSq0XjyD/vU5KBrrFhvmbwe09q6evEcPn0yEVUUdVeN5Dwag==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=pass header.from=outlook.com;
	spf=pass smtp.mailfrom=outlook.com;
	dkim=pass header.d=outlook.com header.i=@outlook.com header.a=rsa-sha256 header.s=selector1 header.b=nBvH+41W;
	arc=pass header.oldest-pass=0 smtp.remote-ip=52.103.14.68
X-Received: from SN4PR2101CU001.outbound.protection.outlook.com (mail-southcentralusazolkn19012068.outbound.protection.outlook.com [52.103.14.68])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4E614606A333;
	Thu, 19 Nov 2026 03:22:34 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4E614606A333
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=outlook.com
X-ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=FH8eZhCeq3KCygfzzfwxq2q4y8RlGYMNzEkPIze7qlyZYKdOsBIzMZ0jaOCNHCP2JJJaQK4vsal65XiWtBhJgmMqjMYnf4Qxo+x9ErMvxaxFAFBypBfzE1ofRyu2Q9W3KaKzfyXpsaEcadZ2Vdeg3BgwNZPlxluLKCzSzuphAqMP1CX8KBz8dKYwI9stOosCYxF5bkm2gitwejAExdusd4U2hKwdHwvMO14fSfAJ6vG3pCacBfWywykOMxXujzVsOzA1SgrZsX0b1CfeIa+XJKS3rAVgit/6/LNnkoGmNMm8Se0h6Tr/tn0BbRHQqZdRiS+Imh032/RVk28K9RhM0Q==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
 s=arcselector10001; h=From:Date:Subject:Message-ID:MIME-Version;
 bh=78O68vh7roxIW4oeTLclxw5Dw98IBpkoUIAfGp7TJ4E=;
 b=QiM/tzWG76CxZataREl+Y0NrXMjHy83j9bjMMzUQxKEuaSs90BvE19SdBlzG06PNEQt0XU0UJSrZe7uxoCGNXWSAc46VzREnGO23ZHFvROHMlCDYf4L1UGMZ0dZ53N8IEPp2MwxMQoYqGbW4cRekn3L2YFlfozGzKL9rUWjjp3K3ZWT2MFfwFtTqZ1u+Ag2IALUk3ysiZYVIEdVleRq7/vOZz7ouZZO34Frtd+WSW2PLR8WDbI9BlbSvY9JodynA4bgI4iOFVqsevHbVXHo1GZCMxiu4amh3uw5i2QsvCn7StKMt9IOsM0s/ImwdOpr/Uet6NGku751pKsV8O0nyMA==
X-ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=78O68vh7roxIW4oeTLclxw5Dw98IBpkoUIAfGp7TJ4E=;
 b=nBvH+41Wm09qEqZoSpnl7F1R7/69jxHN3nSGQma7SZDRhyVtDFPGNaR0A0X3ewCTQnjbBSUjZ5y6DJvxLJ7+OQHH8bldtfvQF3riXUG8gCnctH7rIXM56KitRTxfdSJSo3S4YuHX+y9kwKikOObi6He8vw4y1Ha+6Loy1iSBpH3TzsezvguA/fL3lW6UJcNp3jTTXbpIpoYAb3sqImASKwMwwDxlI16KvT32EvUxUUTqnovbx7Knma5N47Vx8DV4O81PrSf6eXsh3C7LU7HJ8dfyWUjRvTXoz1EynnSrDQ2XqADP+3wljKIdxsG0gbk+i3e1QFTSjyisbK3esyEASA==
X-Received: from BN6PR05MB3281.namprd05.prod.outlook.com (2603:10b6:405:40::35)
 by CO1PR05MB8426.namprd05.prod.outlook.com (2603:10b6:303:e5::11) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.14; Thu, 19 Nov
 2026 03:22:31 +0000
X-Received: from BN6PR05MB3281.namprd05.prod.outlook.com
 ([fe80::5b9b:67c7:5397:c42]) by BN6PR05MB3281.namprd05.prod.outlook.com
 ([fe80::5b9b:67c7:5397:c42%5]) with mapi id 15.21.0615.013; Thu, 19 Nov 2026
 03:22:31 +0000
X-CC: "horms@verge.net.au" <horms@verge.net.au>, "ja@ssi.bg" <ja@ssi.bg>,
	"pablo@netfilter.org" <pablo@netfilter.org>, "fw@strlen.de" <fw@strlen.de>,
	"phil@nwl.cc" <phil@nwl.cc>, "davem@davemloft.net" <davem@davemloft.net>,
	"edumazet@kernel.org" <edumazet@kernel.org>, "kuba@kernel.org"
	<kuba@kernel.org>, "pabeni@redhat.com" <pabeni@redhat.com>,
	"netfilter-devel@vger.kernel.org" <netfilter-devel@vger.kernel.org>,
	"coreteam@netfilter.org" <coreteam@netfilter.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
X-Thread-Topic: [PATCH nf v3] ipvs: avoid wrapping persistent service timeouts
X-Thread-Index: AQHdd9U13Grj6JFkOE6TZb3I6kDrRw==
X-Accept-Language: en-US, zh-CN
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: BN6PR05MB3281:EE_|CO1PR05MB8426:EE_
x-ms-office365-filtering-correlation-id: 69f11cc3-86a6-4953-a899-08df45ec5874
x-ms-exchange-slblob-mailprops:  Z68gl6A5j2981iOqa3TIFE7v3cGH1r/46YXuSTjQRSsIaaGxuCpgyL41HCCmEmHrUNTzfYFhmWzwaV+zSB/acwKtr3BsGS9D0dA+y9vYxOW0loNa3Z32nRwdUd41yK0bBgFwPHelvPZY28djf1OflA1sCixFPPOJ4uXeU2suMroDHHBe9F2qU0Ph4rR9yH6PgMUagI2xWByWJuyBuTE+S5VouK1h4UDSnXCaa7kTNT3n1DInfTt3PKgzMhpmkShG+xKbXmDioYwniAbs6Y72P+uGOW4G6iT8dqtdr0orbDGcIqwDfGU/Hr0X2Cdp6Q4KKTPBq54rHQ/ltGMb5zzZdJkfi+vPJLPATIfwuG+6yrzvsL/ZqtqJecNMMpYb6eDmT/u2ix/b8jAbrv0frTVmODiefbx7ECdSAi9cfTonA2cMttwlEIqk2UGtF8ANUuN/mVMvK85Zb/4H5EA+oQ73qo501U4B1jSy1tcp6DR11BJrojWQiinc3oN3XegYuJ/sPnzd1/SItWmWrqhIywqhJ7kSXPqobpUstoVDnqoh6F5xVyE0dOgzUoDKQPDWn0QwX4rH98QbieMqpLkpTH0LoIEc5laBAS+CTe9OY0Q/Bk2s5bZiVyC3Xa0hj/wpMS3rI1ZoPeZF44Qm1E1bEtY3Y4Hg3ocHtxtetxQzitLtHsdi4JDY5QjiBJ7BDmF9WeECbT7CRhI0mz6oUkbv7hwh8vo3iMhVzSZnF7OfCd9/jDWtIuBqaBn0GSrErLRwwvNRIdT12RVk4FONXcyVqJVIE7zt9f9YE2VOupMsWtVhm3iwUrFrjEvlHtpICPrgu/ov
x-microsoft-antispam:  BCL:0;ARA:14566002|24021099003|8062599012|24121999003|31061999003|8060799015|41001999006|19110799012|22091999003|25010399006|4140399003|38102599003|15080799012|51005399006|5062599005|3412199025|4302099013|440099028|102099032|26121999007|10035399007|40105399003|1602099012;
x-microsoft-antispam-message-info:  +QN67lBo9CvFuNwgCfKBsOKr+GpzHa/qqICIuhc71Cl29zXOjVe6bFkYkMyPNz4UjfQqgPnUDQzEt2wB+G6JFMFWJpDqO4lC1MzNvH4NmgA6+eXwTZx2ILZEINYDwfY2PAaxXOW4ZTLc44XYZxSviQ6DaLFYaf32wpfpnTRtjfuk8W8Z0hudvaPyeDKXVgv7KHEoENjGzu8kpsRv7JFeTj2VZyM6p6tYKiuu7wKQ8BUtE1YyeZpHAExNMOltKsmZOitklyU5sc/AGs8QVqe2qKWP4T6DhBLZdR+zpM//odaHJuTj9iq5docF0DPNwT/9WL4NDvm/qlk8OHuVeo2/I+E29CoOxVeJlfjUJbOqnApXK//tPG+telnIYnznZAAFNRpQ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4YPL5hldorinS8n0KSrs+MkGSziq/WD9iA06MEk6kLnkXOG/u+u+NKsJ4sedjziXt7MZVj4ApSx/BEkCR5hAS3lMx6r0hD5Qm34EvmiApRwU8jKexuxPD/T3qvz2dVtP+F+Tw8OXdKx
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-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN6PR05MB3281.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 69f11cc3-86a6-4953-a899-08df45ec5874
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Nov 2026 03:22:30.8177
 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR05MB8426