lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #38586] netif_loop_output() "deadlocks"


From: Emil Ljungdahl
Subject: [lwip-devel] [bug #38586] netif_loop_output() "deadlocks"
Date: Mon, 25 Mar 2013 10:53:01 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0

URL:
  <http://savannah.nongnu.org/bugs/?38586>

                 Summary: netif_loop_output() "deadlocks"
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: emil_ljungdahl
            Submitted on: Mon 25 Mar 2013 10:53:00 AM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head

    _______________________________________________________

Details:

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

Am I right the call should be replaced by a
tcpip_callback_with_block((tcpip_callback_fn)netif_poll, netif, 0);
?



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 25 Mar 2013 10:53:00 AM GMT  Name: netif_c.diff  Size: 510B   By:
emil_ljungdahl

<http://savannah.nongnu.org/bugs/download.php?file_id=27674>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?38586>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]