]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: never shrink offered window
authorPaolo Abeni <pabeni@redhat.com>
Wed, 4 May 2022 21:54:07 +0000 (14:54 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 6 May 2022 02:00:15 +0000 (19:00 -0700)
commit3eb0a72207fc75fdd1c1d65b8b296933d9e0586e
tree979fd53649b562923da3d0f70013f98948c62b0f
parent1b2b7fa399ae59cbbff61099910bfe64e6702800
mptcp: never shrink offered window

As per RFC, the offered MPTCP-level window should never shrink.
While we currently track the right edge, we don't enforce the
above constraint on the wire.
Additionally, concurrent xmit on different subflows can end-up in
erroneous right edge update.
Address the above explicitly updating the announced window and
protecting the update with an additional atomic operation (sic)

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/options.c
net/mptcp/protocol.c
net/mptcp/protocol.h