From 7948895f03739d000087989ceea0248aa2476774 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Wed, 23 Aug 2023 19:45:58 +0200 Subject: [PATCH] Fix MPTCP patch for 5.4 kernel* --- 5.4/target/linux/generic/hack-5.4/690-mptcp_v0.96.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/5.4/target/linux/generic/hack-5.4/690-mptcp_v0.96.patch b/5.4/target/linux/generic/hack-5.4/690-mptcp_v0.96.patch index 038af9f6..2e82e13e 100644 --- a/5.4/target/linux/generic/hack-5.4/690-mptcp_v0.96.patch +++ b/5.4/target/linux/generic/hack-5.4/690-mptcp_v0.96.patch @@ -4126,12 +4126,13 @@ index 93825ec968aa..aac80ddc837f 100644 tp->duplicate_sack[0].start_seq = 0; tp->duplicate_sack[0].end_seq = 0; tp->dsack_dups = 0; -@@ -2673,8 +2787,6 @@ int tcp_disconnect(struct sock *sk, int flags) +@@ -2673,9 +2787,7 @@ int tcp_disconnect(struct sock *sk, int flags) tp->sacked_out = 0; tp->tlp_high_seq = 0; tp->last_oow_ack_time = 0; - /* There's a bubble in the pipe until at least the first ACK. */ - tp->app_limited = ~0U; + tp->rate_app_limited = 1; tp->rack.mstamp = 0; tp->rack.advanced = 0; tp->rack.reo_wnd_steps = 1;