]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: try to push pending data on snd una updates
authorPaolo Abeni <pabeni@redhat.com>
Mon, 16 Nov 2020 09:48:11 +0000 (10:48 +0100)
committerJakub Kicinski <kuba@kernel.org>
Mon, 16 Nov 2020 18:46:07 +0000 (10:46 -0800)
commitd287625a339a5a6ad5f4ab86ebb756f24605a5ae
tree890cc2af3a16df0926cc7079d277d668d50349a8
parent32bbf57e029b54df0dff8d9e82f0def457782a18
mptcp: try to push pending data on snd una updates

After the previous patch we may end-up with unsent data
in the write buffer. If such buffer is full, the writer
will block for unlimited time.

We need to trigger the MPTCP xmit path even for the
subflow rx path, on MPTCP snd_una updates.

Keep things simple and just schedule the work queue if
needed.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/protocol.c