lwIP - A Lightweight TCP/IP stack - Bugs: bug #27316, netconn: Possible deadlock in...
You are not allowed to post comments on this tracker with your current authentication level.
bug #27316: netconn: Possible deadlock in err_tcp
Submitter: | Simon Goldschmidt <goldsimon> | ||
Submitted: | Tue 25 Aug 2009 02:25:26 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: | CVS Head |
Tue 19 Jan 2010 06:35:45 PM UTC, comment #2: |
Simon Goldschmidt <goldsimon> |
Sun 17 Jan 2010 04:35:39 PM UTC, comment #1: Idea: add flag 'closed' to struct netconn and in netconn_recv, use sys_mbox_tryfetch when 'closed' is != 0. |
Simon Goldschmidt <goldsimon> |
Tue 25 Aug 2009 02:25:26 PM UTC, original submission:
As reported by Eran Rundstein on lwip-users, there may be a deadlock when err_tcp is called and the recvmbox or acceptmbox is full.
|
Simon Goldschmidt <goldsimon> |
No files currently attached
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 |
---|---|---|---|---|---|
2010-01-19 | goldsimon | Status | None | Fixed | |
Assigned to | None | goldsimon | |||
Open/Closed | Open | Closed |
Powered by Savane 3.13-caa5.
Corresponding source code
Fixed by using sys_mbox_trypost in err_tcp:
- if recvmbox/acceptmbox is not full, NULL will be added to the mbox,
- if one of them is full, recv/accept will fail the next time as conn->last_err is now fatal