Skip to contentSkip to conversation

tcp/mptcp: prevent blackhole timeout arithmetic wraparound

PATCH Superseded Yingjie Wang 3 participants 8 messages Nov 16 – Nov 20

Subsystems (5)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v3 cover tcp/mptcp: prevent blackhole timeout arithmetic wraparound

The TCP Fast Open and MPTCP blackhole handlers multiply writable timeout sysctl values before adding the result to a jiffies timestamp. The multiplication is performed in 32-bit unsigned arithmetic, so a large value can wrap into a short delay even on 64-bit kernels.

With HZ=1000 and the maximum multiplier of 64, any timeout above 67108 seconds wraps; 67109 seconds becomes 8,704 jiffies (8.7 seconds) instead of about 50 days. Patches 1 and 2 compute the delay in u64 and cap it at MAX_JIFFY_OFFSET before adding it to the saved timestamp. Patch 1 also limits the TCP sysctl to one day.

Patch 3 applies the same one-day limit to net.mptcp.blackhole_timeout, following Eric's comment that the two sysctls should behave consistently and Matthieu's agreement.

Both limits reject values that were previously accepted, so the series targets net-next and is not intended for stable.

Changes since v2:

- Target net-next and drop Cc: stable, as requested by Eric. Keep the Fixes tags.
- Move version history and earlier test results to the cover letter. The commit messages describe the problem, the fix, and how the final code was validated.
- Use 67109 seconds as the example and reproducer timeout. It is inside the one-day limit and still wraps at the 64-fold backoff with HZ=1000.
- Mention in the changelogs that writes above the limit now fail.
- Add patch 3, limiting net.mptcp.blackhole_timeout to one day.
- Patches 1 and 2 have the same code as in v2. Gang Yan's Reviewed-by is kept on patch 2.

v2: https://lore.kernel.org/r/[email protected]
v1: https://lore.kernel.org/r/[email protected]

Testing on net-next 7ccc5e05043b, x86-64, HZ=1000. The loopback reproducers induce 12 TFO or MPTCP blackholes and then open a probe connection:

- Timeout 67109 seconds, probe after 10 seconds: the unpatched kernel retried active TFO (1.056 s, TCPFastOpenActiveFail +1) and MP_CAPABLE (3.053 s, MPCapableSYNTXDisabled +0). With a 5 second wait it still skipped both, matching the wrapped 8.7 second interval. The v3 kernel skipped both after 10 seconds (0.000 s; +0 and +1).
- Timeout 6912213 seconds, probe after 1.2 seconds: the unpatched kernel retried both. On a test kernel with patches 1 and 2 applied and only the TCP input limit removed, both remained disabled.
- On the v3 kernel, both sysctls accept 0, 1, 3600, 86399 and 86400 and reject -1, 86401, 6912213 and INT_MAX with EINVAL, leaving the previous value unchanged, in the initial and in a new network namespace. Defaults are unchanged. With 86400 second timeouts, the reproducers still disabled active TFO and MPTCP.
- The affected objects build with W=1 on x86-64 and i386 at each patch.

The 32-bit behaviour of the MAX_JIFFY_OFFSET cap was checked by i386 builds and arithmetic, not at runtime. The TCP and MPTCP selftests were not run locally; none of them sets these sysctls.

The issues were found using a static analysis tool.

Yingjie Wang (3):
tcp: avoid wrapping Fast Open blackhole timeout
mptcp: avoid wrapping blackhole timeout
mptcp: limit blackhole_timeout to one day

 Documentation/networking/ip-sysctl.rst    |  1 +
 Documentation/networking/mptcp-sysctl.rst |  1 +
 net/ipv4/sysctl_net_ipv4.c                |  1 +
 net/ipv4/tcp_fastopen.c                   | 12 +++++++++---
 net/mptcp/ctrl.c                          | 14 +++++++++++---
 5 files changed, 23 insertions(+), 6 deletions(-)

base-commit: 7ccc5e05043b1bb84326b19a2b05938d8f7a2ae6

Signature · 1 line
2.43.0
#1 lore raw

PATCH v3 1/3 tcp: avoid wrapping Fast Open blackhole timeout

tcp_fastopen_active_should_disable() calculates the active-disable interval as multiplier * tfo_bh_timeout * HZ. Since all operands are 32-bit, a large tcp_fastopen_blackhole_timeout_sec can wrap the delay, even on 64-bit kernels, and re-enable active Fast Open too soon.

With HZ=1000 and the maximum multiplier of 64, any timeout above 67108 seconds wraps. For example, 67109 seconds should produce 4,294,976,000 jiffies (about 50 days), but the calculation truncates it to 8,704 jiffies (8.7 seconds).

This issue was found using a static analysis tool. It was confirmed with a loopback reproducer that induces 12 Fast Open blackholes and opens another connection 10 seconds later: with a 67109 second timeout, the unpatched kernel retried active Fast Open. The reproducer needs neither kernel modifications nor error injection.

Compute the interval in u64 and cap it at MAX_JIFFY_OFFSET before adding it to the saved timestamp. On 32-bit kernels, the cap keeps the interval within the range that time_before() can compare, which limits the longest backoff there to about 12.4 days at HZ=1000.

Also limit the writable initial timeout to one day, so the exponential backoff does not start from an impractically long period. Writes above 86400 seconds, which were previously accepted, now fail with -EINVAL and leave the current value unchanged. The wider calculation is still needed below that limit, as the 67109 second example shows.

With this patch, the same reproducer kept active Fast Open disabled, and the sysctl accepts 86400 and rejects 86401. The TCP selftests were not run; none of them sets this sysctl.

Fixes cf1ef3f0719b ("net/tcp_fastopen: Disable active side TFO in certain scenarios")
---
 Documentation/networking/ip-sysctl.rst |  1 +
 net/ipv4/sysctl_net_ipv4.c             |  1 +
 net/ipv4/tcp_fastopen.c                | 12 +++++++++---
 3 files changed, 11 insertions(+), 3 deletions(-)
Documentation/networking/ip-sysctl.rst +1 -0
index 0b7bfbd98a92..dc33f82a8997 100644
@@ -1055,6 +1055,7 @@ tcp_fastopen_blackhole_timeout_sec - INTEGER
 	get detected right after Fastopen is re-enabled and will reset to
 	initial value when the blackhole issue goes away.
 	0 to disable the blackhole detection.
+	The maximum value is one day (86400 seconds).
 
 	By default, it is set to 0 (feature is disabled).
 
net/ipv4/sysctl_net_ipv4.c +1 -0
index 9df93ad219db..fb0f3124836d 100644
@@ -1152,6 +1152,7 @@ static const struct ctl_table ipv4_net_table[] = {
 		.mode		= 0644,
 		.proc_handler	= proc_tfo_blackhole_detect_timeout,
 		.extra1		= SYSCTL_ZERO,
+		.extra2		= &one_day_secs,
 	},
 #ifdef CONFIG_IP_ROUTE_MULTIPATH
 	{
net/ipv4/tcp_fastopen.c +9 -3
index 7f7eb3cc1c04..883f0f1e7e07 100644
@@ -613,6 +613,7 @@ bool tcp_fastopen_active_should_disable(struct sock *sk)
 	unsigned long timeout;
 	int tfo_da_times;
 	int multiplier;
+	u64 delay;
 
 	if (!tfo_bh_timeout)
 		return false;
@@ -624,12 +625,17 @@ bool tcp_fastopen_active_should_disable(struct sock *sk)
 	/* Paired with smp_mb__before_atomic() in tcp_fastopen_active_disable() */
 	smp_rmb();
 
-	/* Limit timeout to max: 2^6 * initial timeout */
+	/* Limit the backoff multiplier to 64. */
 	multiplier = 1 << min(tfo_da_times - 1, 6);
+	delay = (u64)multiplier * tfo_bh_timeout * HZ;
 
-	/* Paired with the WRITE_ONCE() in tcp_fastopen_active_disable(). */
+	/*
+	 * Cap the delay for safe jiffies comparisons on 32-bit systems.
+	 * The timestamp read is paired with WRITE_ONCE() in
+	 * tcp_fastopen_active_disable().
+	 */
 	timeout = READ_ONCE(sock_net(sk)->ipv4.tfo_active_disable_stamp) +
-		  multiplier * tfo_bh_timeout * HZ;
+		  min(delay, MAX_JIFFY_OFFSET);
 	if (time_before(jiffies, timeout))
 		return true;
 
Signature · 1 line
2.43.0
maintainer
#2 lore raw

Re: [PATCH net-next v3 1/3] tcp: avoid wrapping Fast Open blackhole timeout

Hi Yingjie,

Quoted 27 lines · Yingjie Wang

tcp_fastopen_active_should_disable() calculates the active-disable interval as multiplier * tfo_bh_timeout * HZ. Since all operands are 32-bit, a large tcp_fastopen_blackhole_timeout_sec can wrap the delay, even on 64-bit kernels, and re-enable active Fast Open too soon.

With HZ=1000 and the maximum multiplier of 64, any timeout above 67108 seconds wraps. For example, 67109 seconds should produce 4,294,976,000 jiffies (about 50 days), but the calculation truncates it to 8,704 jiffies (8.7 seconds).

This issue was found using a static analysis tool. It was confirmed with a loopback reproducer that induces 12 Fast Open blackholes and opens another connection 10 seconds later: with a 67109 second timeout, the unpatched kernel retried active Fast Open. The reproducer needs neither kernel modifications nor error injection.

Compute the interval in u64 and cap it at MAX_JIFFY_OFFSET before adding it to the saved timestamp. On 32-bit kernels, the cap keeps the interval within the range that time_before() can compare, which limits the longest backoff there to about 12.4 days at HZ=1000.

Also limit the writable initial timeout to one day, so the exponential backoff does not start from an impractically long period. Writes above 86400 seconds, which were previously accepted, now fail with -EINVAL and leave the current value unchanged. The wider calculation is still needed below that limit, as the 67109 second example shows.

Quoted 5 lines

With this patch, the same reproducer kept active Fast Open disabled, and the sysctl accepts 86400 and rejects 86401. The TCP selftests were not run; none of them sets this sysctl.

Fixes cf1ef3f0719b ("net/tcp_fastopen: Disable active side TFO in certain scenarios")

I guess you can drop the Fixes tag, not to backport this to stable as it somehow changes the behaviour as Eric said in the v2. Same ton the later patches.

Quoted 48 lines
---
 Documentation/networking/ip-sysctl.rst |  1 +
 net/ipv4/sysctl_net_ipv4.c             |  1 +
 net/ipv4/tcp_fastopen.c                | 12 +++++++++---
 3 files changed, 11 insertions(+), 3 deletions(-)
Documentation/networking/ip-sysctl.rst +1 -0
index 0b7bfbd98a92..dc33f82a8997 100644
@@ -1055,6 +1055,7 @@ tcp_fastopen_blackhole_timeout_sec - INTEGER
 	get detected right after Fastopen is re-enabled and will reset to
 	initial value when the blackhole issue goes away.
 	0 to disable the blackhole detection.
+	The maximum value is one day (86400 seconds).
 
 	By default, it is set to 0 (feature is disabled).
 
net/ipv4/sysctl_net_ipv4.c +1 -0
index 9df93ad219db..fb0f3124836d 100644
@@ -1152,6 +1152,7 @@ static const struct ctl_table ipv4_net_table[] = {
 		.mode		= 0644,
 		.proc_handler	= proc_tfo_blackhole_detect_timeout,
 		.extra1		= SYSCTL_ZERO,
+		.extra2		= &one_day_secs,
 	},
 #ifdef CONFIG_IP_ROUTE_MULTIPATH
 	{
net/ipv4/tcp_fastopen.c +1 -1
index 7f7eb3cc1c04..883f0f1e7e07 100644
@@ -613,6 +613,7 @@ bool tcp_fastopen_active_should_disable(struct sock *sk)
 	unsigned long timeout;
 	int tfo_da_times;
 	int multiplier;
+	u64 delay;
 
 	if (!tfo_bh_timeout)
 		return false;
@@ -624,12 +625,17 @@ bool tcp_fastopen_active_should_disable(struct sock *sk)
 	/* Paired with smp_mb__before_atomic() in tcp_fastopen_active_disable() */
 	smp_rmb();
 
-	/* Limit timeout to max: 2^6 * initial timeout */

net/ipv4/tcp_fastopen.c bool tcp_fastopen_active_should_disable(struct sock *sk) · line 636

Quoted 10 lines
net/ipv4/tcp_fastopen.c +7 -1
+	/* Limit the backoff multiplier to 64. */
 	multiplier = 1 << min(tfo_da_times - 1, 6);
+	delay = (u64)multiplier * tfo_bh_timeout * HZ;
 
-	/* Paired with the WRITE_ONCE() in tcp_fastopen_active_disable(). */
+	/*
+	 * Cap the delay for safe jiffies comparisons on 32-bit systems.
+	 * The timestamp read is paired with WRITE_ONCE() in
+	 * tcp_fastopen_active_disable().
+	 */

I don't think modifying the comment is worth it. If someone wants more details about the capping, they can already you long message, no need to add noise everywhere with long LLM generated comments.

net/ipv4/tcp_fastopen.c bool tcp_fastopen_active_should_disable(struct sock *sk) · line 641

Quoted 6 lines
net/ipv4/tcp_fastopen.c +1 -1
 	timeout = READ_ONCE(sock_net(sk)->ipv4.tfo_active_disable_stamp) +
-		  multiplier * tfo_bh_timeout * HZ;
+		  min(delay, MAX_JIFFY_OFFSET);
 	if (time_before(jiffies, timeout))
 		return true;
 

Cheers,
Matt

Signature · 1 line
Sponsored by the NGI0 Core fund.
#3 lore raw

PATCH v3 2/3 mptcp: avoid wrapping blackhole timeout

In reply to Yingjie Wang

mptcp_active_should_disable() calculates the active-disable interval as multiplier * blackhole_timeout * HZ. Since all operands are 32-bit, a large blackhole_timeout can wrap the delay, even on 64-bit kernels, and make active MPTCP available again while the blackhole is still present.

With HZ=1000 and the maximum multiplier of 64, any timeout above 67108 seconds wraps. For example, 67109 seconds should produce 4,294,976,000 jiffies (about 50 days), but the calculation truncates it to 8,704 jiffies (8.7 seconds).

This issue was found using a static analysis tool. It was confirmed with a loopback reproducer that induces 12 MPTCP blackholes and opens another connection 10 seconds later: with a 67109 second timeout, the unpatched kernel retried MP_CAPABLE. The reproducer needs neither kernel modifications nor error injection.

Compute the interval in u64 and cap it at MAX_JIFFY_OFFSET before adding it to the saved timestamp. On 32-bit kernels, the cap keeps the interval within the range that time_before() can compare. The sysctl input range is unchanged; values whose interval exceeds the cap are shortened to it.

With this patch, the same reproducer fell back to TCP without retrying MP_CAPABLE. The MPTCP selftests were not run; none of them sets this sysctl.

Fixes 27069e7cb3d1 ("mptcp: disable active MPTCP in case of blackhole")
---
 net/mptcp/ctrl.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
net/mptcp/ctrl.c +9 -3
index 63c5747f0f63..0b10e94e7f43 100644
@@ -487,6 +487,7 @@ bool mptcp_active_should_disable(struct sock *ssk)
 	unsigned long timeout;
 	int disable_times;
 	int multiplier;
+	u64 delay;
 
 	pernet = mptcp_get_pernet(net);
 	blackhole_timeout = READ_ONCE(pernet->blackhole_timeout);
@@ -501,12 +502,17 @@ bool mptcp_active_should_disable(struct sock *ssk)
 	/* Paired with smp_mb__before_atomic() in mptcp_active_disable() */
 	smp_rmb();
 
-	/* Limit timeout to max: 2^6 * initial timeout */
+	/* Limit the backoff multiplier to 64. */
 	multiplier = 1 << min(disable_times - 1, 6);
+	delay = (u64)multiplier * blackhole_timeout * HZ;
 
-	/* Paired with the WRITE_ONCE() in mptcp_active_disable(). */
+	/*
+	 * Cap the delay for safe jiffies comparisons on 32-bit systems.
+	 * The timestamp read is paired with WRITE_ONCE() in
+	 * mptcp_active_disable().
+	 */
 	timeout = READ_ONCE(pernet->active_disable_stamp) +
-		  multiplier * blackhole_timeout * HZ;
+		  min(delay, MAX_JIFFY_OFFSET);
 
 	return time_before(jiffies, timeout);
 }
Signature · 1 line
2.43.0
maintainer
#4 lore raw

Re: [PATCH net-next v3 2/3] mptcp: avoid wrapping blackhole timeout

Hi Yingjie,

Quoted 49 lines · Yingjie Wang

mptcp_active_should_disable() calculates the active-disable interval as multiplier * blackhole_timeout * HZ. Since all operands are 32-bit, a large blackhole_timeout can wrap the delay, even on 64-bit kernels, and make active MPTCP available again while the blackhole is still present.

With HZ=1000 and the maximum multiplier of 64, any timeout above 67108 seconds wraps. For example, 67109 seconds should produce 4,294,976,000 jiffies (about 50 days), but the calculation truncates it to 8,704 jiffies (8.7 seconds).

This issue was found using a static analysis tool. It was confirmed with a loopback reproducer that induces 12 MPTCP blackholes and opens another connection 10 seconds later: with a 67109 second timeout, the unpatched kernel retried MP_CAPABLE. The reproducer needs neither kernel modifications nor error injection.

Compute the interval in u64 and cap it at MAX_JIFFY_OFFSET before adding it to the saved timestamp. On 32-bit kernels, the cap keeps the interval within the range that time_before() can compare. The sysctl input range is unchanged; values whose interval exceeds the cap are shortened to it.

With this patch, the same reproducer fell back to TCP without retrying MP_CAPABLE. The MPTCP selftests were not run; none of them sets this sysctl.

Fixes 27069e7cb3d1 ("mptcp: disable active MPTCP in case of blackhole")
---
 net/mptcp/ctrl.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
net/mptcp/ctrl.c +1 -1
index 63c5747f0f63..0b10e94e7f43 100644
@@ -487,6 +487,7 @@ bool mptcp_active_should_disable(struct sock *ssk)
 	unsigned long timeout;
 	int disable_times;
 	int multiplier;
+	u64 delay;
 
 	pernet = mptcp_get_pernet(net);
 	blackhole_timeout = READ_ONCE(pernet->blackhole_timeout);
@@ -501,12 +502,17 @@ bool mptcp_active_should_disable(struct sock *ssk)
 	/* Paired with smp_mb__before_atomic() in mptcp_active_disable() */
 	smp_rmb();
 
-	/* Limit timeout to max: 2^6 * initial timeout */

net/mptcp/ctrl.c bool mptcp_active_should_disable(struct sock *ssk) · line 513

Quoted 10 lines
net/mptcp/ctrl.c +7 -1
+	/* Limit the backoff multiplier to 64. */
 	multiplier = 1 << min(disable_times - 1, 6);
+	delay = (u64)multiplier * blackhole_timeout * HZ;
 
-	/* Paired with the WRITE_ONCE() in mptcp_active_disable(). */
+	/*
+	 * Cap the delay for safe jiffies comparisons on 32-bit systems.
+	 * The timestamp read is paired with WRITE_ONCE() in
+	 * mptcp_active_disable().
+	 */

Same here: no need to modify the comment here.

pw-bot: cr

net/mptcp/ctrl.c bool mptcp_active_should_disable(struct sock *ssk) · line 518

Quoted 6 lines
net/mptcp/ctrl.c +1 -1
 	timeout = READ_ONCE(pernet->active_disable_stamp) +
-		  multiplier * blackhole_timeout * HZ;
+		  min(delay, MAX_JIFFY_OFFSET);
 
 	return time_before(jiffies, timeout);
 }

Cheers,
Matt

Signature · 1 line
Sponsored by the NGI0 Core fund.
#5 lore raw

PATCH v3 3/3 mptcp: limit blackhole_timeout to one day

In reply to Yingjie Wang

net.mptcp.blackhole_timeout accepts any non-negative int as the initial period for disabling active MPTCP after a blackhole, and the period can then grow 64-fold. A multi-day initial period is not useful, and on 32-bit kernels, values above about 1,073,741 seconds at HZ=1000 are shortened by the MAX_JIFFY_OFFSET cap even on the first blackhole.

Limit the writable value to one day, matching net.ipv4.tcp_fastopen_blackhole_timeout_sec, and document the limit. The default of 3600 seconds is unchanged.

Writes above 86400 seconds, which were previously accepted, now fail with -EINVAL and leave the current value unchanged.

---
 Documentation/networking/mptcp-sysctl.rst | 1 +
 net/mptcp/ctrl.c                          | 2 ++
 2 files changed, 3 insertions(+)
Documentation/networking/mptcp-sysctl.rst +1 -0
index b9b5f58e0625..ca00253c8ae9 100644
@@ -63,6 +63,7 @@ blackhole_timeout - INTEGER (seconds)
 	blackhole issue goes away.
 
 	0 to disable the blackhole detection. This is a per-namespace sysctl.
+	The maximum value is one day (86400 seconds).
 
 	Default: 3600
 
net/mptcp/ctrl.c +2 -0
index 0b10e94e7f43..1f167f72c1f5 100644
@@ -20,6 +20,7 @@ static int mptcp_pernet_id;
 
 #ifdef CONFIG_SYSCTL
 static int mptcp_pm_type_max = __MPTCP_PM_TYPE_MAX;
+static int mptcp_blackhole_timeout_max = 24 * 3600;
 #endif
 
 struct mptcp_pernet {
@@ -350,6 +351,7 @@ static struct ctl_table mptcp_sysctl_table[] = {
 		.mode = 0644,
 		.proc_handler = proc_blackhole_detect_timeout,
 		.extra1 = SYSCTL_ZERO,
+		.extra2 = &mptcp_blackhole_timeout_max,
 	},
 	{
 		.procname = "syn_retrans_before_tcp_fallback",
Signature · 1 line
2.43.0
maintainer
#6 lore raw

Re: [PATCH net-next v3 3/3] mptcp: limit blackhole_timeout to one day

Hi Yingjie,

Quoted 6 lines · Yingjie Wang

net.mptcp.blackhole_timeout accepts any non-negative int as the initial period for disabling active MPTCP after a blackhole, and the period can then grow 64-fold. A multi-day initial period is not useful, and on 32-bit kernels, values above about 1,073,741 seconds at HZ=1000 are shortened by the MAX_JIFFY_OFFSET cap even on the first blackhole.

Quoted 6 lines

Limit the writable value to one day, matching net.ipv4.tcp_fastopen_blackhole_timeout_sec, and document the limit. The default of 3600 seconds is unchanged.

Writes above 86400 seconds, which were previously accepted, now fail with -EINVAL and leave the current value unchanged.

Why did you split this patch in 2 for MPTCP, while it is in a single patch for TCP? Can you avoid the split for MPTCP.

Quoted 32 lines
---
 Documentation/networking/mptcp-sysctl.rst | 1 +
 net/mptcp/ctrl.c                          | 2 ++
 2 files changed, 3 insertions(+)
Documentation/networking/mptcp-sysctl.rst +1 -0
index b9b5f58e0625..ca00253c8ae9 100644
@@ -63,6 +63,7 @@ blackhole_timeout - INTEGER (seconds)
 	blackhole issue goes away.
 
 	0 to disable the blackhole detection. This is a per-namespace sysctl.
+	The maximum value is one day (86400 seconds).
 
 	Default: 3600
 
net/mptcp/ctrl.c +1 -0
index 0b10e94e7f43..1f167f72c1f5 100644
@@ -20,6 +20,7 @@ static int mptcp_pernet_id;
 
 #ifdef CONFIG_SYSCTL
 static int mptcp_pm_type_max = __MPTCP_PM_TYPE_MAX;
+static int mptcp_blackhole_timeout_max = 24 * 3600;
 #endif
 
 struct mptcp_pernet {

net/mptcp/ctrl.c static struct ctl_table mptcp_sysctl_table[] = { · line 354

Quoted 4 lines
net/mptcp/ctrl.c +1 -0
@@ -350,6 +351,7 @@ static struct ctl_table mptcp_sysctl_table[] = {
 		.mode = 0644,
 		.proc_handler = proc_blackhole_detect_timeout,
 		.extra1 = SYSCTL_ZERO,
+		.extra2 = &mptcp_blackhole_timeout_max,

Could we also use a variable called one_day_secs like with TCP?

net/mptcp/ctrl.c static struct ctl_table mptcp_sysctl_table[] = { · line 357

Quoted 3 lines
net/mptcp/ctrl.c +0 -0
 	},
 	{
 		.procname = "syn_retrans_before_tcp_fallback",

Cheers,
Matt

Signature · 1 line
Sponsored by the NGI0 Core fund.
#7 lore raw
In reply to Yingjie Wang

Hi Yingjie,

Thank you for your modifications, that's great!

Our CI did some validations and here is its report:

- KVM Validation: normal (except selftest_mptcp_join): Success! ✅
- KVM Validation: normal (only selftest_mptcp_join): Success! ✅
- KVM Validation: debug (except selftest_mptcp_join): Success! ✅
- KVM Validation: debug (only selftest_mptcp_join): Success! ✅
- KVM Validation: btf-normal (only bpftest_all): Success! ✅
- KVM Validation: btf-debug (only bpftest_all): Success! ✅
- Perf: Success! ✅
- Task: https://github.com/multipath-tcp/mptcp_net-next/actions/runs/43915933839

Initiator: Patchew Applier
Commits: https://github.com/multipath-tcp/mptcp_net-next/commits/b0e56604f837
Patchwork: https://patchwork.kernel.org/project/mptcp/list/?series=1213013

If there are some issues, you can reproduce them using the same environment as the one used by the CI thanks to a docker image, e.g.:

    $ cd [kernel source code]
    $ docker run -v "${PWD}:${PWD}:rw" -w "${PWD}" --privileged --rm -it \
        --pull always mptcp/mptcp-upstream-virtme-docker:latest \
        auto-normal

For more details:

https://github.com/multipath-tcp/mptcp-upstream-virtme-docker

Please note that despite all the efforts that have been already done to have a stable tests suite when executed on a public CI like here, it is possible some reported issues are not due to your modifications. Still, do not hesitate to help us improve that ;-)

Cheers,
MPTCP GH Action bot
Bot operated by Matthieu Baerts (NGI0 Core)