lwIP - A Lightweight TCP/IP stack - Bugs: bug #28049, Keep Alive timeout frees pcb then...
You are not allowed to post comments on this tracker with your current authentication level.
bug #28049: Keep Alive timeout frees pcb then uses it, sometimes causing crash error.
Submitter: | Mike <mikeredd> | ||
Submitted: | Wed 18 Nov 2009 10:24:46 PM UTC | ||
Category: | TCP | Severity: | 3 - Normal |
Item Group: | Crash Error | Status: | Fixed |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | 1.3.1 |
Sun 22 Nov 2009 03:45:00 PM UTC, comment #2: |
Simon Goldschmidt <goldsimon> |
Fri 20 Nov 2009 05:05:22 PM UTC, comment #1: The fix would be OK, but I think we might rather change the code to not call tcp_abort at that place:
|
Simon Goldschmidt <goldsimon> |
Wed 18 Nov 2009 10:24:46 PM UTC, original submission:
Inside of tcp_slowtmr(), when a keepalive timeout occurs, tcp_abort() is called for the pcb. This frees the pcb.
|
Mike <mikeredd> |
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 6 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2009-11-22 | goldsimon | Assigned to | None | goldsimon | |
Open/Closed | Open | Closed | |||
Status | Need Info | Fixed | |||
2009-11-20 | goldsimon | Status | None | Need Info | |
2009-11-19 | kieranm | Planned Release | 1.3.2 | ||
2009-11-18 | mikeredd | Attached File | - | Added tcp.c, #19079 |
Powered by Savane 3.13-02a9.
Corresponding source code
Fixed by calling tcp_rst() instead of tcp_abort() in tcp_slowtmr() when retransmit timer expires.
Thanks for reporting.