lwIP - A Lightweight TCP/IP stack - Patches: patch #8737, tcp_timer_needed should use...
You are not allowed to post comments on this tracker with your current authentication level.
patch #8737: tcp_timer_needed should use tcpip_timeout
Submitter: | Robert Szewczyk <robszewczyk> | ||
Submitted: | Fri 11 Sep 2015 05:13:33 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Invalid | Privacy: | Public |
Assigned to: | None | Open/Closed: | Closed |
Planned Release: | None |
Jump to the original submission
Fri 11 Sep 2015 09:31:07 PM UTC, comment #6: |
Robert Szewczyk <robszewczyk> |
Fri 11 Sep 2015 08:09:55 PM UTC, comment #5: Confession time.
|
Sylvain Rochet <gradator> |
Fri 11 Sep 2015 07:45:11 PM UTC, comment #4:
|
Simon Goldschmidt <goldsimon> |
Fri 11 Sep 2015 07:38:47 PM UTC, comment #3: Netconn and socket API, see lwip/doc/rawapi.txt |
Sylvain Rochet <gradator> |
Fri 11 Sep 2015 07:18:31 PM UTC, comment #2:
|
Grant Erickson <marathon96> |
Fri 11 Sep 2015 05:40:58 PM UTC, comment #1:
|
Simon Goldschmidt <goldsimon> |
Fri 11 Sep 2015 05:13:33 PM UTC, original submission:
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.
|
Robert Szewczyk <robszewczyk> |
Depends on the following items: None found
Items that depend on this one: None found
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 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-09-11 | goldsimon | Status | None | Invalid | |
Open/Closed | Open | Closed | |||
2015-09-11 | robszewczyk | Attached File | - | Added 0001-tcp_timer_needed-should-use-tcpip_timeout.patch, #34861 |
Powered by Savane 3.13-02a9.
Corresponding source code
There are two more things worth bringing up: