lwip-devel
[Top][All Lists]
Advanced

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

RE: [lwip-devel] Small fix for 'minimal'


From: Vinay Purohit
Subject: RE: [lwip-devel] Small fix for 'minimal'
Date: Tue, 25 Oct 2005 11:37:30 -0400

Christiaan,
I'm not familiar with the 'minimal' project. Do the memory leaks you
have mentioned also affect the 'regular' (for lack of a better term)
lwip stack?
Thanks
Vinay Purohit
Lucent Technologies


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Christiaan Simons
Sent: Monday, October 24, 2005 6:42 AM
To: John Jannotti; lwip-devel
Subject: Re: [lwip-devel] Small fix for 'minimal'

address@hidden wrote on
21-09-2005
22:44:32:

> The 'minimal' project in contrib was very helpful to get started with
> lwip, but I believe there is a small bug.

There is more than a small bug. There is a pbuf memory leak after about
1000+ small
echo's, and it seems larger files (>128 bytes (pbuf size)) aren't echo'd
properly.

Currently I'm rewriting the echo example, now using the true raw API
instead of the 'event API'.

> In echo.c, in close_conn,
> there is an attempt to pbuf_free(es->p) unconditionally.  but normally
> p is null because es has nothing pending to send.

Yep, found and fixed that a week ago in echo.c rev 1.4

>  Here is my diff,
> which corrects the same thing in another spot, and a cut and paste
> error in a comment.

Tnx anyway,

Christiaan Simons

Hardware / Software Engineer
Axon Digital Design

+31 (0)13 511 66 66
+31 (0)13 511 41 51

http://www.axon.tv



This email and any files transmitted with it are confidential and
intended
solely for the use of the individual or entity to whom they are
addressed.
If you have received this email in error please notify the system
manager.
This message contains confidential information and is intended only for
the
individual named.  If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.



_______________________________________________
lwip-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-devel





reply via email to

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