mptcp: keep track of advertised windows right edge
authorFlorian Westphal <fw@strlen.de>
Mon, 16 Nov 2020 09:48:13 +0000 (10:48 +0100)
committerJakub Kicinski <kuba@kernel.org>
Mon, 16 Nov 2020 18:46:07 +0000 (10:46 -0800)
commit6f8a612a33e426d473f7161d1950dc00a613494b
tree38d484799e333eea7da33f483219f3d9a3a41760
parent8edf08649eede6e5a3e39a3d38c63f30039a0c1e
mptcp: keep track of advertised windows right edge

Before sending 'x' new bytes also check that the new snd_una would
be within the permitted receive window.

For every ACK that also contains a DSS ack, check whether its tcp-level
receive window would advance the current mptcp window right edge and
update it if so.

Signed-off-by: Florian Westphal <fw@strlen.de>
Co-developed-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/options.c
net/mptcp/protocol.c
net/mptcp/protocol.h