Re: memory leak ?

From: Jouni Malinen (
Date: 2002-08-23 14:03:46 UTC

On Mon, Aug 20, 2001 at 02:38:35PM +0800, hffeng wrote:

> I test this hostap driver of the latest version from CVS on Axis platform.I have only modified the init-part of the driver.After heavy load test (the driver has received 14,002,896 packets)there is 2M memory lost. At present i haven't found the reason.

Was this 'latest version from CVS' after the kfree/dev_kfree_skb fix in hostap_ap.c (2001-08-19)? Before that fix, the driver leaked some memory for each management frame. Authentication and association should not have leaked that much memory, but if you were using power saving, it might have lost quite a bit of memory since PS poll frames are used in that case.

How did you measure the 2M memory leak?

Jouni Malinen                                            PGP id EFC895FA

This archive was generated by hypermail 2.1.4.