[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #21049] Allow reuse of pbufs after return from APIs
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #21049] Allow reuse of pbufs after return from APIs |
Date: |
Wed, 12 Sep 2007 13:56:22 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 |
Follow-up Comment #1, bug #21049 (project lwip):
As nice as this seems, it has a slightly different goal than the "udp_send"
thread in lwip-users. As I can see it (and this is also what I would expect
the API to behave), Julian expected the pbuf to come back like it was given to
udp_send().
The solution proposed here would let you re-fill the pbuf, but not really
re-use it (e.g. change a pre-filled pbuf...).
Of course, restoring them to what they were before has the dowside of making
the code bigger, even if you don't need that.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?21049>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/