Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b112a670 authored by David Howells's avatar David Howells
Browse files

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: default avatarDavid Howells <dhowells@redhat.com>
parent 1e9e5c95
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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()))