netdev
[Top] [All Lists]

[PATCH Linux-2.6.8-rc2] prism54 Fix memory leaks

To: jgarzik@xxxxxxxxx
Subject: [PATCH Linux-2.6.8-rc2] prism54 Fix memory leaks
From: margitsw@xxxxxxxxxxx (Margit Schubert-While)
Date: Fri, 6 Aug 2004 13:24:01 +0200
Cc: netdev@xxxxxxxxxxx, prism54-devel@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: KMail/1.5.4
2004-08-06 Margit Schubert-While <margitsw@xxxxxxxxxxx>
* Change the "version" OID to what it should be.
*
* Fix memory leaks - mgt_get_request always returns
* allocated memory for non-int OIDS (with an exception -
* keep reading). If the caller checks the return and itself
* returns, then it must free memory.
* However, it is possible to return from mgt_get_request
* early (!priv->mib). In this case, weird things can happen
* in isl_ioctl. Quick fix, at least to force an oops, is
* to set the union value to NULL. The real fix is to
* recode all mgt_get_request calls in isl_ioctl.

 Jeff, have had no response to patch "Fix IRQ handling"
 from 2004-07-30.

Margit

Margit










Attachment: memleak.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>