From: David Howells Date: Thu, 29 Sep 2016 21:37:16 +0000 (+0100) Subject: rxrpc: Request more ACKs in slow-start mode X-Git-Tag: v4.9-rc1~127^2~34^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b112a67081e4b06652ecde588bf1d5778fe43d75;p=karo-tx-linux.git rxrpc: Request more ACKs in slow-start mode Set the request-ACK on more DATA packets whilst we're in slow start mode so that we get sufficient ACKs back to supply information to configure the window. Signed-off-by: David Howells --- diff --git a/net/rxrpc/output.c b/net/rxrpc/output.c index ac9a58b619a6..0d47db886f6e 100644 --- a/net/rxrpc/output.c +++ b/net/rxrpc/output.c @@ -284,6 +284,7 @@ int rxrpc_send_data_packet(struct rxrpc_call *call, struct sk_buff *skb, * ACKs if a DATA packet appears to have been lost. */ if (retrans || + call->cong_mode == RXRPC_CALL_SLOW_START || (call->peer->rtt_usage < 3 && sp->hdr.seq & 1) || ktime_before(ktime_add_ms(call->peer->rtt_last_req, 1000), ktime_get_real()))