]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: do not queue excessive data on subflows
authorPaolo Abeni <pabeni@redhat.com>
Wed, 20 Jan 2021 14:39:12 +0000 (15:39 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 23 Jan 2021 03:21:02 +0000 (19:21 -0800)
commit61c64307174fbcf7504bbbb6e2a60c8dd342bda7
tree9ac9b3773c1571177bf1c24dc3ad97d05de07b6e
parentb1f0256d57aa7ceed1e79e1822cbaa9218afe65f
mptcp: do not queue excessive data on subflows

The current packet scheduler can enqueue up to sndbuf
data on each subflow. If the send buffer is large and
the subflows are not symmetric, this could lead to
suboptimal aggregate bandwidth utilization.

Limit the amount of queued data to the maximum send
window.

Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/protocol.c