]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit09a6df1d8754b7e2379cdd0b02a74aef8393a7e5
tree38d484799e333eea7da33f483219f3d9a3a41760
parent45b8e67d5b7d61d017c4749191cb3a1b59000166
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