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

Little fix for BLEST scheduler

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-09-10 18:50:27 +02:00
parent dd2ee05daa
commit 6a5d791f19

View file

@ -8378,7 +8378,7 @@ diff -aurN linux-4.19.67/net/mptcp/mptcp_blest.c mptcp-mptcp_v0.95/net/mptcp/mpt
+ /* if we decided to use a slower flow, we have the option of not using it at all */
+ if (bestsk && minsk && bestsk != minsk) {
+ u32 slow_linger_time, fast_bytes, buffered_bytes, slow_inflight_bytes, slow_bytes, avail_space;
+
+ u32 buffered_bytes = 0;
+ meta_tp = tcp_sk(meta_sk);
+ besttp = tcp_sk(bestsk);
+