summary refs log tree commit diff
path: root/init
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2021-06-22 12:25:23 -0700
committerDavid S. Miller <davem@davemloft.net>2021-06-22 14:36:01 -0700
commitfde56eea01f96b664eb63033990be0fd2a945da5 (patch)
tree2d4908623c9dfadf7bcd2f9ef69662d27122e8cd /init
parentd8e336f77e3bce440f78432d259c9ddedada7b79 (diff)
downloadlinux-fde56eea01f96b664eb63033990be0fd2a945da5.tar.gz
mptcp: refine mptcp_cleanup_rbuf
The current cleanup rbuf tries a bit too hard to avoid acquiring
the subflow socket lock. We may end-up delaying the needed ack,
or skip acking a blocked subflow.

Address the above extending the conditions used to trigger the cleanup
to reflect more closely what TCP does and invoking tcp_cleanup_rbuf()
on all the active subflows.

Note that we can't replicate the exact tests implemented in
tcp_cleanup_rbuf(), as MPTCP lacks some of the required info - e.g.
ping-pong mode.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions