From fb40766d2504f1dd812e8d21069f8b63fb024c4b Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Sun, 23 Jun 2019 08:09:25 +0200 Subject: [PATCH] Update MPTCP --- root/target/linux/generic/hack-4.14/690-mptcp_v0.94.patch | 3 ++- root/target/linux/generic/hack-4.19/690-mptcp_v0.95.patch | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/root/target/linux/generic/hack-4.14/690-mptcp_v0.94.patch b/root/target/linux/generic/hack-4.14/690-mptcp_v0.94.patch index 1ed38dfd..907d334a 100644 --- a/root/target/linux/generic/hack-4.14/690-mptcp_v0.94.patch +++ b/root/target/linux/generic/hack-4.14/690-mptcp_v0.94.patch @@ -252,7 +252,7 @@ diff -aurN linux-4.14.127/include/net/inet_sock.h mptcp-mptcp_v0.94/include/net/ diff -aurN linux-4.14.127/include/net/mptcp.h mptcp-mptcp_v0.94/include/net/mptcp.h --- linux-4.14.127/include/net/mptcp.h 1970-01-01 01:00:00.000000000 +0100 +++ mptcp-mptcp_v0.94/include/net/mptcp.h 2019-06-17 23:59:30.000000000 +0200 -@@ -0,0 +1,1521 @@ +@@ -0,0 +1,1522 @@ +/* + * MPTCP implementation + * @@ -1468,6 +1468,7 @@ diff -aurN linux-4.14.127/include/net/mptcp.h mptcp-mptcp_v0.94/include/net/mptc + mptcp_for_each_sk(tp->mpcb, sk_it) { + if ((mptcp_sk_can_send(sk_it) || sk_it->sk_state == TCP_SYN_RECV) && + inet_csk(sk_it)->icsk_retransmits == 0 && ++ inet_csk(sk_it)->icsk_backoff == 0 && + inet_csk(sk_it)->icsk_rto > max_rto) + max_rto = inet_csk(sk_it)->icsk_rto; + } diff --git a/root/target/linux/generic/hack-4.19/690-mptcp_v0.95.patch b/root/target/linux/generic/hack-4.19/690-mptcp_v0.95.patch index 22e0a005..2b3053af 100644 --- a/root/target/linux/generic/hack-4.19/690-mptcp_v0.95.patch +++ b/root/target/linux/generic/hack-4.19/690-mptcp_v0.95.patch @@ -259,7 +259,7 @@ diff -aurN linux-4.19.53/include/net/inet_sock.h mptcp-mptcp_v0.95/include/net/i diff -aurN linux-4.19.53/include/net/mptcp.h mptcp-mptcp_v0.95/include/net/mptcp.h --- linux-4.19.53/include/net/mptcp.h 1970-01-01 01:00:00.000000000 +0100 +++ mptcp-mptcp_v0.95/include/net/mptcp.h 2019-06-22 05:42:25.000000000 +0200 -@@ -0,0 +1,1490 @@ +@@ -0,0 +1,1491 @@ +/* + * MPTCP implementation + * @@ -1458,6 +1458,7 @@ diff -aurN linux-4.19.53/include/net/mptcp.h mptcp-mptcp_v0.95/include/net/mptcp + + if ((mptcp_sk_can_send(sk_it) || sk_it->sk_state == TCP_SYN_RECV) && + inet_csk(sk_it)->icsk_retransmits == 0 && ++ inet_csk(sk_it)->icsk_backoff == 0 && + inet_csk(sk_it)->icsk_rto > max_rto) + max_rto = inet_csk(sk_it)->icsk_rto; + }