From 031c1819239b5ece45027b25283d980ddc507c93 Mon Sep 17 00:00:00 2001 From: Chas Williams Date: Sun, 13 Aug 2006 17:40:27 +0000 Subject: [PATCH] fix-congestion-tracking-20060813 FIXES 36951 fix congestion tracking --- src/rx/rx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rx/rx.c b/src/rx/rx.c index 7a1efaf0d..e4d7a7eda 100644 --- 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)) { -- 2.39.5