mptcp: don't skip needed ack
authorPaolo Abeni <pabeni@redhat.com>
Mon, 5 Oct 2020 10:36:44 +0000 (12:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Oct 2020 13:08:06 +0000 (06:08 -0700)
commit717f20341686245fdde9000ee09fdab5dc722477
tree14e494001521d76a51817615b3eaf7c32d4dbc27
parent8b0308fe319b8002753ea66f8f940fb393792ddd
mptcp: don't skip needed ack

Currently we skip calling tcp_cleanup_rbuf() when packets
are moved into the OoO queue or simply dropped. In both
cases we still increment tp->copied_seq, and we should
ask the TCP stack to check for ack.

Fixes: c76c6956566f ("mptcp: call tcp_cleanup_rbuf on subflows")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.c