lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #31723] tcp_kill_prio() kills pcbs with the same prio


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #31723] tcp_kill_prio() kills pcbs with the same prio
Date: Sun, 21 Nov 2010 14:38:53 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12

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

                 Summary: tcp_kill_prio() kills pcbs with the same prio
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: So 21 Nov 2010 14:38:52 GMT
                Category: None
                Severity: 2 - Minor
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: CVS Head

    _______________________________________________________

Details:

According to its documentation, tcp_kill_prio() kills "the oldest active
connection that has lower priority than prio". However, the current code also
kills connections with a priority equal to 'prio'.

We should either change the documentation or the implementation.

The downside of the current implementation is that every call to tcp_new()
can lead to aborting an old (active) connection.

This has been in there since revision 1.1 of tcp.c, so changing it might
involve changing applications relying on this (like I have one :).





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

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