]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-rx-nacks-increment-with-all-newacks-20080317
authorChas Williams <chas@cmf.nrl.navy.mil>
Mon, 17 Mar 2008 17:57:18 +0000 (17:57 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 17 Mar 2008 17:57:18 +0000 (17:57 +0000)
LICENSE IPL10

don't "lose" newacks, apply all of them to the ack count

(cherry picked from commit eee60dd38d1be14be052178816aea36b2f8de3ff)

src/rx/rx.c

index a77a4d5739801851902501cc15afc3a2d4ab0e25..5b12b70f208a4cc5ee0367b1f4deba1ecd9f69a3 100644 (file)
@@ -3837,9 +3837,7 @@ rxi_ReceiveAckPacket(register struct rx_call *call, struct rx_packet *np,
            call->nNacks = nNacked;
        }
     } else {
-       if (newAckCount) {
-           call->nAcks++;
-       }
+       call->nAcks += newAckCount;
        call->nNacks = 0;
     }