[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #34429] In RAW/NO_SYS mode, with LWIP_ALLOW_MEM_FREE_F
From: |
Min Xu |
Subject: |
[lwip-devel] [bug #34429] In RAW/NO_SYS mode, with LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT set to 1, memory gets corrupted |
Date: |
Fri, 30 Sep 2011 01:12:36 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:7.0) Gecko/20100101 Firefox/7.0 |
Follow-up Comment #4, bug #34429 (project lwip):
The code changes worked for me... however, looking at the section 2 again, it
appears it's possible other users may have a large MEM section to allocate
from so it's possible that they need to enable interrupt.. However, doing so
may allow lfree to be modified else where so it'll be necessary to add a local
variable to move lfree to its proper value.
However, in my test, leaving section 2 as it were (in original 1.4.0 code)
would cause memory corruption
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?34429>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/