[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9318] pbuf: Fix allocate zero length pbuf

From: Axel Lin
Subject: [lwip-devel] [patch #9318] pbuf: Fix allocate zero length pbuf
Date: Wed, 26 Apr 2017 12:13:46 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.81 Safari/537.36


                 Summary: pbuf: Fix allocate zero length pbuf
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: axellin
            Submitted on: Wed 26 Apr 2017 04:13:45 PM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None



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

My device running PPPoS stop working with current git tree, this fix make it


File Attachments:

Date: Wed 26 Apr 2017 04:13:45 PM UTC  Name:
0001-pbuf-Fix-allocate-zero-length-pbuf.patch  Size: 1kB   By: axellin



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]