patchlwIP - A Lightweight TCP/IP stack - Patches: patch #8244, make timeouts usable reliably from...

 
 

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

patch #8244: make timeouts usable reliably from outside of the timeout routine

Submitted by:  chrysn <chrysn>
Submitted on:  Thu 21 Nov 2013 07:58:17 AM UTC  
 
Category: NonePriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Simon Goldschmidt <goldsimon>Open/Closed: Closed
Planned Release: None

Tue 14 Jan 2014 08:28:37 PM UTC, comment #2:

Fixed, thanks for the patch.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Thu 21 Nov 2013 08:54:51 AM UTC, comment #1:

a more detailed discussion of what is originally wrong, how it is fixed and what the effects are can be found on the mailing list[1].

[1] http://lists.nongnu.org/archive/html/lwip-users/2013-11/msg00037.html

chrysn <chrysn>
Thu 21 Nov 2013 07:58:17 AM UTC, original submission:

although timeouts are relative to timeouts_last_time (transitively by
addition to the time values of their predecessors, if there are any),
sys_timeout does not compensate for that; as a result, timeouts fire too
early unless invoked from within a timeout handler (when
timeouts_last_time == now).

note on interaction with patch #7855: i think the relative timestamp approach is sound by itself and more straightforward, it just needs to be fixed (with the presented patch).

chrysn <chrysn>

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by chrysn (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
    Tue 14 Jan 2014 08:28:37 PM UTCgoldsimonStatusNone=>Done
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Thu 21 Nov 2013 07:58:18 AM UTCchrysnAttached File-=>Added 0001-make-timeouts-usable-reliably-from-outside-of-the-ti.patch, #29682

    Back to the top


    Powered by Savane 3.1-cleanup1