]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: add missing memory scheduling in the rx path
authorPaolo Abeni <pabeni@redhat.com>
Tue, 27 Oct 2020 14:59:14 +0000 (15:59 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 29 Oct 2020 18:27:14 +0000 (11:27 -0700)
commit9c3f94e1681bb0ebd93390f014082042d8bc067a
tree61b897510cac8a13a54ead2387804788bbe30ef1
parentceb1eb2fb609c88363e06618b8d4bbf7815a4e03
mptcp: add missing memory scheduling in the rx path

When moving the skbs from the subflow into the msk receive
queue, we must schedule there the required amount of memory.

Try to borrow the required memory from the subflow, if needed,
so that we leverage the existing TCP heuristic.

Fixes: 6771bfd9ee24 ("mptcp: update mptcp ack sequence from work queue")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Link: https://lore.kernel.org/r/f6143a6193a083574f11b00dbf7b5ad151bc4ff4.1603810630.git.pabeni@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/protocol.c