[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #8704] fix sys_timeouts_sleeptime function

From: chrysn
Subject: [lwip-devel] [patch #8704] fix sys_timeouts_sleeptime function
Date: Mon, 20 Jul 2015 13:36:38 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/601.1 (KHTML, like Gecko) Version/8.0 Safari/601.1 Debian/unstable (3.16.3-1) Epiphany/3.16.3


                 Summary: fix sys_timeouts_sleeptime function
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: chrysn
            Submitted on: Mon 20 Jul 2015 13:36:37 GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None



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.


File Attachments:

Date: Mon 20 Jul 2015 13:36:37 GMT  Name:
0001-fix-sys_timeouts_sleeptime-function.patch  Size: 1kB   By: chrysn



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]