patchlwIP - 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

Tue 01 Dec 2015 12:52:14 PM UTC, original submission:  

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.

Axel Lin <axellin>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dziegel (Updated the item)
  • -email is unavailable- added by axellin (Submitted the item)
  •  

    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 StatusNone Done
        Open/ClosedOpen Closed
    2015-12-01 axellin Attached File- Added 0001-Catch-tcpip_callback-call-failure.patch, #35606

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code