#2111: memory leak caused by sta_flush_table() without freeing se_xxx_ie fields
--------------------------------------+-------------------------------------
 Reporter:  [EMAIL PROTECTED]  |             Type:  defect  
   Status:  new                       |         Priority:  major   
Component:  madwifi: driver           |          Version:  v0.9.3.3
 Keywords:                            |   Patch_attached:  0       
  Pending:  0                         |  
--------------------------------------+-------------------------------------
 sta_add() may save ies (saveie()) in a newly allocated struct
 ieee80211_scan_entry. When sta_flush_table() is called to free the
 structure, no check is performed to free these ie structs. This leads to
 considerable memory loss, in our case, during active roaming. We see the
 size-32 entry in slabinfo growing. A fix I have applied that seems to
 solve our problem is check the ie entries in sta_flush_table() and free
 any ie structures that are present. We observed the probolem in 0.9.3.3,
 but inspection and rudimentary testing shows no fix for the problem in
 0.9.4.

-- 
Ticket URL: <http://madwifi.org/ticket/2111>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to