[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #8737] tcp_timer_needed should use tcpip_timeout
From: |
Robert Szewczyk |
Subject: |
[lwip-devel] [patch #8737] tcp_timer_needed should use tcpip_timeout |
Date: |
Fri, 11 Sep 2015 17:13:34 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36 |
URL:
<http://savannah.nongnu.org/patch/?8737>
Summary: tcp_timer_needed should use tcpip_timeout
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: robszewczyk
Submitted on: Fri 11 Sep 2015 05:13:33 PM 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:
When tcp_connect is called from a different thread, it is possible that the
tcp timers do not get started properly. This happens when there are no TCP
timers active and the SYN packet is lost (or not responded to). Previous code
would simply adjust the timer queue, but not fix the LwIP wakeup schedule; in
the absence of active timers and incoming packets, there would be nothing to
wakeup the LwIP thread to adjust the wakeup to reflect the new state of the
timer queue. This patch replaces the direct call to sys_timeout with a
tcpip_timeout call that wakes up the LwIP thread.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 11 Sep 2015 05:13:33 PM GMT Name:
0001-tcp_timer_needed-should-use-tcpip_timeout.patch Size: 1kB By:
robszewczyk
<http://savannah.nongnu.org/patch/download.php?file_id=34861>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?8737>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [patch #8737] tcp_timer_needed should use tcpip_timeout,
Robert Szewczyk <=
- [lwip-devel] [patch #8737] tcp_timer_needed should use tcpip_timeout, Simon Goldschmidt, 2015/09/11
- [lwip-devel] [patch #8737] tcp_timer_needed should use tcpip_timeout, Grant Erickson, 2015/09/11
- [lwip-devel] [patch #8737] tcp_timer_needed should use tcpip_timeout, Sylvain Rochet, 2015/09/11
- [lwip-devel] [patch #8737] tcp_timer_needed should use tcpip_timeout, Simon Goldschmidt, 2015/09/11
- [lwip-devel] [patch #8737] tcp_timer_needed should use tcpip_timeout, Sylvain Rochet, 2015/09/11
- [lwip-devel] [patch #8737] tcp_timer_needed should use tcpip_timeout, Robert Szewczyk, 2015/09/11
- Re: [lwip-devel] [patch #8737] tcp_timer_needed should use tcpip_timeout, address@hidden, 2015/09/12