lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #21433] Calling mem_free/pbuf_free from interrupt cont


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #21433] Calling mem_free/pbuf_free from interrupt context isn't safe
Date: Thu, 25 Oct 2007 19:14:49 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8

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

                 Summary: Calling mem_free/pbuf_free from interrupt context
isn't safe
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: Donnerstag 25.10.2007 um 19:14
                Category: pbufs
                Severity: 3 - Normal
              Item Group: Change Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 

    _______________________________________________________

Details:

As discussed on lwip-users on the 25th of october, PBUF_RAM pbufs may not be
freed from interrupt context since mem_free is only protected by a semaphore
(or not at all if NO_SYS==1) see
http://lists.nongnu.org/archive/html/lwip-users/2007-10/msg00116.html and
replies.

Question is: do we want to allow pbuf_free from interrupt context? If not, we
should explicitly document this implementation requirement!

(If someone asked me, I'd vote for allowing to free a pbuf from interrupt
context :)




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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