patchlwIP - A Lightweight TCP/IP stack - Patches: patch #9318, pbuf: Fix allocate zero length pbuf

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9318: pbuf: Fix allocate zero length pbuf

Submitter:  Axel Lin <axellin>
Submitted:  Wed 26 Apr 2017 04:13:45 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  None

Wed 26 Apr 2017 06:17:07 PM UTC, comment #1: 

Right, thanks for the fix!

Simon Goldschmidt <goldsimon>
Group administrator
Wed 26 Apr 2017 04:13:45 PM UTC, original submission:  

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")

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

Axel Lin <axellin>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by axellin (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-04-26 goldsimon StatusNone Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2017-04-26 axellin Attached File- Added 0001-pbuf-Fix-allocate-zero-length-pbuf.patch, #40515

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code