lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] [lwip] FIXED cs8900a driver (pbuf mem leak) and FIXED dhcp


From: leon . woestenberg
Subject: [lwip-users] [lwip] FIXED cs8900a driver (pbuf mem leak) and FIXED dhcp client
Date: Thu, 09 Jan 2003 02:00:32 -0000

Hello all,

thanks to Paul Lieverse's remarks on the pbuf handling, the cs8900a driver
has
been fixed to prevent a memory leak.

In cs8900if_output(), if the pbuf did not have enough header room (*), the
allocated
header was not deallocated later. Fixed.

(*) This should not occur in the first place, but seems to be the result of
a bug in
PBUF_*_HLEN sizes and also a bug in pbuf_alloc() which does not allocate
the
right headers sizes in some situations.

The new cs8900a driver needs Paul's fix to pbuf_dechain(), which I've
included
for all safeness (people not reading this list).

Also, I've fixed the DHCP client which didn't handle some rare situations
robustly
enough.

http://www.esrac.ele.tue.nl/~leon/lwip/

Thanks for the bug hunt. Please test the given stuff and give feed back.

Special thanks to Paul Lieverse!

Regards,

Leon Woestenberg

Axon Digital Design
Phone: +31 13 511 6666
Fax: +31 13 511 4151
web: www.axon.tv

=====================================================================================================

The information contained in this communication is confidential and is
intended solely for the use of the individual or entity to whom it is
addressed. Axon Digital Design Group is neither liable for the proper nor
for the complete transmission of the information contained in this
communication nor for any delay in its receipt. Axon Digital Design Group
does not guarantee that the integrity of this communication has been
maintained nor that the communication is free of viruses, interceptions or
interference. If you are not the intended recipient of this communication,
you are hereby notified that reading, disseminating, distributing or
copying this message is strictly prohibited. In that case please return the
communication to the sender and delete and destroy all copies. In carrying
out its engagements, Axon Digital Design Group applies general terms and
conditions, which contain a clause that limits its liability. A copy of
these terms and conditions is available on request free of charge.
=====================================================================================================

[This message was sent through the lwip discussion list.]




reply via email to

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