]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: avoid data corruption on reinsert
authorPaolo Abeni <pabeni@redhat.com>
Thu, 23 Jul 2020 11:02:30 +0000 (13:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jul 2020 18:47:24 +0000 (11:47 -0700)
commit882049ba7c905638aa3275147b2667f0ba78602e
treeda573c7e720fe560e745789ad5ca6da2a16aaee7
parent4d08dd97bd4336d28b1cfb233105fee071e5ba09
mptcp: avoid data corruption on reinsert

When updating a partially acked data fragment, we
actually corrupt it. This is irrelevant till we send
data on a single subflow, as retransmitted data, if
any are discarded by the peer as duplicate, but it
will cause data corruption as soon as we will start
creating non backup subflows.

Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Tested-by: Christoph Paasch <cpaasch@apple.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c