lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] Question about 90873d6


From: Joel Cunningham
Subject: Re: [lwip-devel] Question about 90873d6
Date: Tue, 15 Aug 2017 10:04:16 -0500

Ping!

> On Aug 9, 2017, at 3:38 PM, Joel Cunningham <address@hidden> wrote:
> 
> In change 90873d6, the following was part of the patchset:
> 
> -              } else if (pcb->dupacks == 3) {
> -                /* Do fast retransmit */
> +              } else if (pcb->dupacks >= 3) {
> +               /* Do fast retransmit (checked via TF_INFR, not via dupacks 
> count) */
> 
> I think the >3 case can never get there because the if preceding checks that 
> dupacks is > 3:
> 
> if (pcb->dupacks > 3) {
>  /* Inflate the congestion window, but not if it means that
>      the value overflows. */
>    if ((tcpwnd_size_t)(pcb->cwnd + pcb->mss) > pcb->cwnd) {
>      pcb->cwnd = (tcpwnd_size_t)(pcb->cwnd + pcb->mss);
>    }
> } else if (pcb->dupacks >=3) {
>
> 
> Should the original == 3 be restored?
> 
> Joel
> _______________________________________________
> lwip-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]