lwIP - A Lightweight TCP/IP stack - Bugs: bug #52554, LWIP_NETCONN_FULLDUPLEX: closing...
You are not allowed to post comments on this tracker with your current authentication level.
bug #52554: LWIP_NETCONN_FULLDUPLEX: closing fails to end 'recv' calls correctly
| Submitter: | Simon Goldschmidt <goldsimon> | ||
| Submitted: | Wed 29 Nov 2017 09:34:21 PM UTC | ||
| Category: | None | Severity: | 3 - Normal |
| Item Group: | Faulty Behaviour | Status: | Fixed |
| Privacy: | Public | Assigned to: | goldsimon |
| Open/Closed: | Closed | Planned Release: | 2.1.0 |
| lwIP version: | git head | ||
|
Wed 18 Apr 2018 08:06:59 PM UTC, comment #1: |
Simon Goldschmidt <goldsimon> |
|
Wed 29 Nov 2017 09:34:21 PM UTC, original submission:
- lwip_close() deallocates the netconn without checking fd_used
|
Simon Goldschmidt <goldsimon> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
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 2 latest changes.
| Date | Changed by | Updated Field | Previous Value | => | Replaced by |
|---|---|---|---|---|---|
| 2018-04-18 | goldsimon | Status | None | Fixed | |
| Open/Closed | Open | Closed |

Should be fixed:
- netconn is not freed from lwip_close() directly but freeing it is delayed until fd_used gets 0
- shutdown and close don't drain the mbox in fullduplex mode but post a message that wakes up waiting threads and tell them the netconn is about to be deleted. Draining is done when the netconn is actually deleted