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: Jonathan Larmour
Subject: [lwip-devel] [bug #21433] Calling mem_free/pbuf_free from interrupt context isn't safe
Date: Thu, 27 Mar 2008 22:11:38 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060513 Fedora/1.0.8-1.1.fc3.1.legacy Firefox/1.0.8

Follow-up Comment #15, bug #21433 (project lwip):

I'm slightly unsure about referring to disabling interrupts all the time
since on many embedded OSes this would actually disable tasking, which is
slightly different.

I think the opt.h comment could clarify that pbuf_free_int (and mem_free) are
functions which already exist and don't need writing. Perhaps this should also
be documented somewhere else? Wiki? 

I think the implementation could be improved by my suggestion in comment #10.
But then I'm not the one doing it, so it's up to you :-).


    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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