]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit036238fefe8b5e05cc7fcf70f3406c043131b49c
tree14e494001521d76a51817615b3eaf7c32d4dbc27
parent10a59a3ae4d8fd5a145f3153faf7d76b3259ecf8
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: 0c1dca43441d ("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