[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #34526] nd6_queue_packet() frees too much if out-of-me
From: |
Ivan Delamer |
Subject: |
[lwip-devel] [bug #34526] nd6_queue_packet() frees too much if out-of-memory |
Date: |
Wed, 26 Oct 2011 20:42:48 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 |
Follow-up Comment #1, bug #34526 (project lwip):
Good catch, Simon. Fixed by setting r->next = NULL before calling nd6_free_q.
Also, in the first call, we were perhaps not freeing enough. Changed the if()
to a while() so that it frees until we can allocate the pbuf or definitely
fail.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?34526>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/