projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e9e5c9
)
rxrpc: Request more ACKs in slow-start mode
author
David Howells
<dhowells@redhat.com>
Thu, 29 Sep 2016 21:37:16 +0000
(22:37 +0100)
committer
David Howells
<dhowells@redhat.com>
Thu, 29 Sep 2016 21:57:47 +0000
(22:57 +0100)
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 <dhowells@redhat.com>
net/rxrpc/output.c
patch
|
blob
|
blame
|
history
diff --git
a/net/rxrpc/output.c
b/net/rxrpc/output.c
index ac9a58b619a62abd6c4888d3e97c5792a64cbcde..0d47db886f6ed4a33ae78d98658618d98361f75c 100644
(file)
--- 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()))