buglwIP - A Lightweight TCP/IP stack - Bugs: bug #31723, tcp_kill_prio() kills pcbs with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #31723: tcp_kill_prio() kills pcbs with the same prio

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Sun 21 Nov 2010 02:38:52 PM UTC
   
 
Category:  None Severity:  2 - Minor
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  CVS Head

Sun 26 Jun 2011 05:39:32 PM UTC, comment #2: 

Fixed by updating the function documentation.

Simon Goldschmidt <goldsimon>
Group administrator
Tue 11 Jan 2011 01:56:26 PM UTC, comment #1: 

Updating the documentation seems like the easiest solution

Kieran Mansley <kieranm>
Group Member
Sun 21 Nov 2010 02:38:52 PM UTC, original submission:  

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 :).

Simon Goldschmidt <goldsimon>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by kieranm (Posted a comment)
  • -email is unavailable- added by goldsimon (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-06-26 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2011-01-11 kieranm Planned Release 1.4.1

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code