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: Mon, 30 Jun 2008 15:40:06 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070530 Fedora/1.5.0.12-1.fc5 Firefox/1.5.0.12 pango-text

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

I haven't tried out the code, but it looks great to me. Since you've tested
it, I think this is fine to go in. Presumably there's a tweak to opt.h of
course, and the description around that can probably be the documentation
(since there's no other place to doc it, I think?).

It's tempting to simplify it by eliminating the option, but that might mean
lots of calls to enable/disable interrupts or scheduling. I think I'd slightly
prefer to retain the option because of that (rather than the extra code/data
of the changes themselves), but don't mind particularly if others disagree.


    _______________________________________________________

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]