patchlwIP - A Lightweight TCP/IP stack - Patches: patch #8704, fix sys_timeouts_sleeptime function

 
 

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

patch #8704: fix sys_timeouts_sleeptime function

Submitter:  chrysn <chrysn>
Submitted:  Mon 20 Jul 2015 01:36:37 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  None

Tue 18 Aug 2015 07:38:53 PM UTC, comment #1: 

Fixed, thanks for reporting. NB: the patch did not apply, so I copied the code.

Simon Goldschmidt <goldsimon>
Group administrator
Mon 20 Jul 2015 01:36:37 PM UTC, original submission:  

quoting the patch header:

> there was a sign error the remaining time calculation, causing the main
> loop to sleep for longer than necessary.
>
> a comment was added to clarify the role of timeouts_last_time.


the misbehavior doesn't manifest itself too badly when overly long timeouts don't have a bad effect, and when there is sufficient network traffic to constantly wake up the main loop from its overly long sleep, as it is often the case when using a tun/tap interface (probably the function's main user) and the host system is chatty about mdns and what not.

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
    2015-08-18 goldsimon StatusNone Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2015-07-20 chrysn Attached File- Added 0001-fix-sys_timeouts_sleeptime-function.patch, #34468

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code