mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-04 05:39:53 +00:00
Changed the comment to pbuf_realloc() that it can't grow (only shrink) chains to reflect the fact that we decided not to change this.
This commit is contained in:
parent
eacac8ee1d
commit
82e579a29d
@ -388,7 +388,7 @@ pbuf_alloc(pbuf_layer l, u16_t length, pbuf_flag flag)
|
|||||||
* @note If the pbuf is ROM/REF, only the ->tot_len and ->len fields are adjusted.
|
* @note If the pbuf is ROM/REF, only the ->tot_len and ->len fields are adjusted.
|
||||||
* @note May not be called on a packet queue.
|
* @note May not be called on a packet queue.
|
||||||
*
|
*
|
||||||
* @bug Cannot grow the size of a pbuf (chain) (yet).
|
* @note Despite its name, pbuf_realloc cannot grow the size of a pbuf (chain).
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
pbuf_realloc(struct pbuf *p, u16_t new_len)
|
pbuf_realloc(struct pbuf *p, u16_t new_len)
|
||||||
|
Loading…
Reference in New Issue
Block a user