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

Submitter:  chrysn <chrysn>
Submitted:  Thu 21 Nov 2013 07:58:17 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  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>
Group administrator
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>

 

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

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by chrysn (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
    2014-01-14 goldsimon StatusNone Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2013-11-21 chrysn Attached File- Added 0001-make-timeouts-usable-reliably-from-outside-of-the-ti.patch, #29682

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code