OSDN Git Service

mptcp: call tcp_cleanup_rbuf on subflows
authorPaolo Abeni <pabeni@redhat.com>
Mon, 14 Sep 2020 08:01:18 +0000 (10:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Sep 2020 20:28:02 +0000 (13:28 -0700)
commitc76c6956566f974bac2470bd72fc22fb923e04a1
tree42fe158385a63cb0a139c9afdd8982419ffdac0f
parentd5f49190def61c47b2faff170ba8fbc48bac4371
mptcp: call tcp_cleanup_rbuf on subflows

That is needed to let the subflows announce promptly when new
space is available in the receive buffer.

tcp_cleanup_rbuf() is currently a static function, drop the
scope modifier and add a declaration in the TCP header.

Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp.c
net/mptcp/protocol.c
net/mptcp/subflow.c