From 6966bfa4b86157b3d0575803a879b73c8e48b8ba Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Wed, 10 Feb 2021 17:45:38 +0100 Subject: [PATCH] fixup! congure_reno: initial import of TCP Reno congestion control --- sys/congure/reno/methods/congure_reno_methods.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/congure/reno/methods/congure_reno_methods.c b/sys/congure/reno/methods/congure_reno_methods.c index 2b4687536e5a..3537b3fc4420 100644 --- a/sys/congure/reno/methods/congure_reno_methods.c +++ b/sys/congure/reno/methods/congure_reno_methods.c @@ -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);