[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-users] chaining pbufs as an user
From: |
Bill Auerbach |
Subject: |
RE: [lwip-users] chaining pbufs as an user |
Date: |
Thu, 22 Jul 2010 08:16:45 -0400 |
>Again, if I am not mistaken, the while loop is needed if there is more
>than 1 reference to the pbuf in question. Perhaps, in this particular
>program this will never happen. Maybe the author of the code put the
>while loop there just to be on the safe side?
>
>As for pbuf_dechain(), I'm not sure it's the right function to use.
>You still have to free the pbuf, and pbuf_dechain() doesn't seem to do
>that.
Isn't that what the tail_gone = pbuf_free(q); does?
Bill