[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #3031] Implement a new fully pool-based pbuf implement
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #3031] Implement a new fully pool-based pbuf implementation. |
Date: |
Tue, 24 Jul 2007 11:03:21 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5 |
Follow-up Comment #20, bug #3031 (project lwip):
> So perhaps is it ok for it to just respresent the length of the
> queue, rather than being an accurate count of the number of
> pbufs?
I don't really get what you mean here, I think. The problem came from the
fact that on enqueueing, queuelen is ++ed for each pbuf (whether consisting
of a chain or not), while when removing from the queue, pbuf_clen is
substracted. So for chained pbufs, the amoutn substracted is bigger than the
amount previously added.
I'll change pbuf_clen to a macro and use it in tcp_enqueue also, then we
should be pretty safe while not really slower.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?3031>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #3031] Implement a new fully pool-based pbuf implementation., Simon Goldschmidt, 2007/07/03
- RE: [lwip-devel] [bug #3031] Implement a new fully pool-based pbufimplementation., Goldschmidt Simon, 2007/07/25
- RE: [lwip-devel] [bug #3031] Implement a new fully pool-basedpbufimplementation., Grubb, Jared, 2007/07/25
- RE: [lwip-devel] [bug #3031] Implement a new fullypool-basedpbufimplementation., Goldschmidt Simon, 2007/07/26
- RE: [lwip-devel] [bug #3031] Implement a newfullypool-basedpbufimplementation., Grubb, Jared, 2007/07/26
- Re: [lwip-devel] [bug #3031] Implement a new fullypool-basedpbufimplementation., Jonathan Larmour, 2007/07/31
- Re: [lwip-devel] [bug #3031] Implement a new fully pool-basedpbufimplementation., Thomas Mueller, 2007/07/26