From: Chas Williams Date: Mon, 17 Mar 2008 17:57:18 +0000 (+0000) Subject: DEVEL15-rx-nacks-increment-with-all-newacks-20080317 X-Git-Tag: openafs-devel-1_5_34~20 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=dd59ee88f686f71a9fa71267a27d8a44976961a9;p=packages%2Fo%2Fopenafs.git DEVEL15-rx-nacks-increment-with-all-newacks-20080317 LICENSE IPL10 don't "lose" newacks, apply all of them to the ack count (cherry picked from commit eee60dd38d1be14be052178816aea36b2f8de3ff) --- diff --git a/src/rx/rx.c b/src/rx/rx.c index a77a4d573..5b12b70f2 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -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; }