lwIP - A Lightweight TCP/IP stack - Patches: patch #8817, Catch tcpip_callback call failure
You are not allowed to post comments on this tracker with your current authentication level.
patch #8817: Catch tcpip_callback call failure
Submitter: | Axel Lin <axellin> | ||
Submitted: | Tue 01 Dec 2015 12:52:14 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | None | Open/Closed: | Closed |
Planned Release: | None |
Attached Files
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 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-12-05 | dziegel | Status | None | Done | |
Open/Closed | Open | Closed | |||
2015-12-01 | axellin | Attached File | - | Added 0001-Catch-tcpip_callback-call-failure.patch, #35606 |
Powered by Savane 3.13-d3ae.
Corresponding source code
tcpip_callback_with_block() can fail with ERR_MEM or ERR_VAL, and in the
error paths the code does not post the msg to the mailbox thus the
sys_sem_wait() call might wait forever. Fix it by testing return value of
tcpip_callback() and return error immediately.