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

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

(cherry picked from commit eee60dd38d1be14be052178816aea36b2f8de3ff)

src/rx/rx.c

index 021c763b60294e73d89221dc3f1783e9cb865a6a..41309143bbb659a7c2d49e29898f023616087484 100644 (file)
@@ -3824,9 +3824,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;
     }