From 01720bc0002a2a8af4f04d3f23a18d1743ac0fe9 Mon Sep 17 00:00:00 2001 From: Chas Williams Date: Sun, 13 Aug 2006 17:43:28 +0000 Subject: [PATCH] DEVEL15-fix-congestion-tracking-20060813 FIXES 36951 fix congestion tracking (cherry picked from commit 031c1819239b5ece45027b25283d980ddc507c93) --- 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 ff973735f..6891a2c92 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -3771,10 +3771,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