rx-nacks-increment-with-all-newacks-20080317
authorChas Williams <chas@cmf.nrl.navy.mil>
Mon, 17 Mar 2008 17:56:38 +0000 (17:56 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 17 Mar 2008 17:56:38 +0000 (17:56 +0000)
LICENSE IPL10

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

src/rx/rx.c

index cc783a9..401ff77 100644 (file)
@@ -3833,9 +3833,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;
     }