[Top][All Lists]

[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: Gecko/20101026 Firefox/3.6.12


                 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



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:


  Nachricht geschickt von/durch Savannah

reply via email to

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