1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Fix MPTCP 0.94 patch for latest kernel, add TCP_MAX_QUICKACKS

This commit is contained in:
Ycarus 2018-08-06 23:20:00 +02:00
parent c76307b7d0
commit 70bcf388c2

View file

@ -13804,7 +13804,7 @@ diff -aurN linux-4.14.41/net/mptcp/mptcp_input.c mptcp-mptcp_v0.94/net/mptcp/mpt
+ /* Quick ACK if more 3/4 of the receive window is filled */
+ if (after64(tp->mptcp->map_data_seq,
+ rcv_nxt64 + 3 * (tcp_receive_window(meta_tp) >> 2)))
+ tcp_enter_quickack_mode(sk);
+ tcp_enter_quickack_mode(sk,TCP_MAX_QUICKACKS);
+
+ } else {
+ /* Ready for the meta-rcv-queue */