Skip to content

Commit

Permalink
fixup! congure_reno: initial import of TCP Reno congestion control
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Feb 10, 2021
1 parent e26457e commit 6966bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/congure/reno/methods/congure_reno_methods.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ void congure_reno_snd_report_msg_acked(congure_snd_t *cong,
(ack->id == c->last_ack) &&
/* (e) the advertised window in the incoming acknowledgment equals
* the advertised window in the last incoming acknowledgment. */
((ack->wnd > 0) && (c->consts->same_wnd_adv(c, ack)))) {
((ack->wnd == 0) || (c->consts->same_wnd_adv(c, ack)))) {
c->dup_acks++;
if (_snd_in_fast_retransmit(cong)) {
_fr_cwnd_dec(c);
Expand Down

0 comments on commit 6966bfa

Please sign in to comment.