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:
goldsimon 2007-04-17 17:48:35 +00:00
parent eacac8ee1d
commit 82e579a29d

View File

@ -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 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
pbuf_realloc(struct pbuf *p, u16_t new_len)