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

Submitted by:  Simon Goldschmidt <goldsimon>
Submitted on:  Sun 21 Nov 2010 02:38:52 PM UTC  
 
Category: NoneSeverity: 2 - Minor
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned 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>
Project AdministratorIn charge of this item.
Tue 11 Jan 2011 01:56:26 PM UTC, comment #1:

Updating the documentation seems like the easiest solution

Kieran Mansley <kieranm>
Project Administrator
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>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 26 Jun 2011 05:39:32 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Tue 11 Jan 2011 01:56:26 PM UTCkieranmPlanned Release=>1.4.1

    Back to the top


    Powered by Savane 3.1-cleanup1