git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4baf136
)
fix-congestion-tracking-20060813
author
Chas Williams
<chas@cmf.nrl.navy.mil>
Sun, 13 Aug 2006 17:40:27 +0000 (17:40 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Sun, 13 Aug 2006 17:40:27 +0000 (17:40 +0000)
FIXES 36951
fix congestion tracking
src/rx/rx.c
patch
|
blob
|
history
diff --git
a/src/rx/rx.c
b/src/rx/rx.c
index
7a1efaf
..
e4d7a7e
100644
(file)
--- a/
src/rx/rx.c
+++ b/
src/rx/rx.c
@@
-3902,10
+3902,11
@@
rxi_ReceiveAckPacket(register struct rx_call *call, struct rx_packet *np,
* be unable to accept packets of the size that prior AFS versions would
* send without asking. */
if (peer->maxMTU != tSize) {
+ if (peer->maxMTU > tSize) /* possible cong., maxMTU decreased */
+ peer->congestSeq++;
peer->maxMTU = tSize;
peer->MTU = MIN(tSize, peer->MTU);
call->MTU = MIN(call->MTU, tSize);
- peer->congestSeq++;
}
if (np->length == rx_AckDataSize(ap->nAcks) + 3 * sizeof(afs_int32)) {