mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-09 07:54:38 +08:00

Current code fails to allocate zero length pbuf (e.g. for PBUF_RAW PBUF_POOL), fix it. Fixes: eb269e61b5d3 ("First step to clean up pbuf implementation: add pbuf_alloc_reference() to allocate pbufs referencing external payload; move member initialization to common function; simplify PBUF_POOL chain allocator") Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: goldsimon <goldsimon@gmx.de>