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)
commit813e0a683d4cacb668622bc9a1693cb82b5f8ff8
tree890cc2af3a16df0926cc7079d277d668d50349a8
parentd9ca1de8c0cd7a8ca2a0506e1741418741848e53
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