]> 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)
commite77a31733dfcea24434429c7304b8ebfcb167b27
tree394f65feb245f5bf2539c5598bd03f62743ca11d
parentf4266b35d358a40ed20e95d8625f1bf9c9174ef0
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