lwip-devel
[Top][All Lists]
Advanced

[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

URL:
  <http://savannah.nongnu.org/patch/?8704>

                 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

    _______________________________________________________

Details:

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

<http://savannah.nongnu.org/patch/download.php?file_id=34468>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?8704>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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