lwIP - A Lightweight TCP/IP stack - Bugs: bug #38586, netif_loop_output()...
You are not allowed to post comments on this tracker with your current authentication level.
bug #38586: netif_loop_output() "deadlocks"
Submitter: | Emil Ljungdahl <emil_ljungdahl> | ||
Submitted: | Mon 25 Mar 2013 10:53:00 AM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | Faulty Behaviour | Status: | Fixed |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | git head |
Wed 15 Jan 2014 08:31:32 AM UTC, comment #2: |
Matthias Pfaller <matthiaspfaller> |
Wed 24 Apr 2013 07:38:32 PM UTC, comment #1: Fixed, thanks for reporting. |
Simon Goldschmidt <goldsimon> |
Mon 25 Mar 2013 10:53:00 AM UTC, original submission:
I ran into a problem where the lwip core task hanged in sys_mbox_post() because of a full message queue. The problems seems to be that core/netif.c:netif_loop_output() calls tcpip_callback() which will wait for message to be posted, but since the current task is the only one eating messages we are stuck...
|
Emil Ljungdahl <emil_ljungdahl> |
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 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2013-04-24 | goldsimon | Status | None | Fixed | |
Assigned to | None | goldsimon | |||
Open/Closed | Open | Closed | |||
2013-03-25 | emil_ljungdahl | Attached File | - | Added netif_c.diff, #27674 |
Powered by Savane 3.13-bb6a.
Corresponding source code
But what happens to the looped back packets when tcpip_callback_with_block fails? Won't the packets get stalled until someone else calls netif_poll?