]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: more accurate timeout
authorPaolo Abeni <pabeni@redhat.com>
Fri, 13 Aug 2021 22:15:41 +0000 (15:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Aug 2021 10:37:25 +0000 (11:37 +0100)
commit479f066b63f9bf6e96c427878a3f3583a8872180
tree394f65feb245f5bf2539c5598bd03f62743ca11d
parentc9562a80857dfafe9462b2c84f64d2561ea18332
mptcp: more accurate timeout

As reported by Maxim, we have a lot of MPTCP-level
retransmissions when multilple links with different latencies
are in use.

This patch refactor the mptcp-level timeout accounting so that
the maximum of all the active subflow timeout is used. To avoid
traversing the subflow list multiple times, the update is
performed inside the packet scheduler.

Additionally clean-up a bit timeout handling.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c