[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 |
URL:
<http://savannah.nongnu.org/patch/?9318>
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
_______________________________________________________
Details:
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.
_______________________________________________________
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
<http://savannah.nongnu.org/patch/download.php?file_id=40515>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?9318>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [patch #9318] pbuf: Fix allocate zero length pbuf,
Axel Lin <=