lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] PPPOS and PBUF_POOL


From: address@hidden
Subject: Re: [lwip-devel] PPPOS and PBUF_POOL
Date: Thu, 31 Aug 2017 20:50:44 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Axel Lin wrote:
I think it's to avoid memory fragment.
The way pppos_write/pppos_netif_output using the PBUF_POOL is different from
other places because the pbuf is freed immediately by pppos_output_last().

Hmm, allocating from the heap and directly freeing it again does not produce fragmentation: in fact, it doesn't change anything.
I don't know why it is that way. I should probably be changed.

Simon



reply via email to

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