lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #51765] pcb->dupacks > 3 logic added in 90873d6 not po


From: Joel Cunningham
Subject: [lwip-devel] [bug #51765] pcb->dupacks > 3 logic added in 90873d6 not possible
Date: Wed, 16 Aug 2017 09:37:50 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0

URL:
  <http://savannah.nongnu.org/bugs/?51765>

                 Summary: pcb->dupacks > 3 logic added in 90873d6 not possible
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: jcunningham
            Submitted on: Wed 16 Aug 2017 01:37:49 PM UTC
                Category: TCP
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: git head

    _______________________________________________________

Details:

The dupacks > 3 logic added in 90873d6 is not possible to reach because the
preceding if takes the > 3 case:


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) {
…





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?51765>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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