Summary: ND6: add an explicit queue size check.
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: ourairquality
Submitted on: Thu 04 Apr 2019 02:19:01 AM UTC
Priority: 5 - Normal
Assigned to: None
Discussion Lock: Any
Planned Release: None
When using the MEMP_MEM_MALLOC option, memp_malloc() can not be relied on to
limit the number of allocations allowed for each MEMP queue, as the ND6 code
had been. This caused the ND6 queue to keep growing until the heap allocation
failed when using the MEMP_MEM_MALLOC option. So add an explicit queue size
check in ND6.