Memory leak issue on cfg80211/mac80211 layer?

Ben Greear greearb
Mon Dec 1 08:16:23 PST 2014


What kernel version is this?  I remember fixing some leaks in this
area back in the 3.9 kernels (I think, maybe it was a different kernel...)

Thanks,
Ben


On 11/30/2014 09:23 PM, Chan, Rio wrote:
> Hi wifi Champs:
> 
>      
> 
>       I was stuck on those 2 ?memory leak? issue, can any one here help me to solve this issue?
> 
>       The wifi driver I used here is coming from this git: https://github.com/TI-OpenLink/wl18xx/tree/ol_r8.a8.06
> 
>  
> 
>       The code I used is here: https://github.com/TI-OpenLink/wl18xx/blob/ol_r8.a8.06/net/mac80211/scan.c
> 
>  
> 
>       The memory leak dump is in the below.
> 
>  
> 
>       I looked up the issue list, and I found 1 of them is very similar with the issue I met here:
> 
>       Please take a look at this link: http://marc.info/?l=linux-wireless&m=136256227623873&w=2
> 
>  
> 
>       So, any one can help me to solve this issue?
> 
>  
> 
>       Thanks and appreciated.
> 
>  
> 
> BR Rio
> 
>  
> 
>   comm "softirq", pid 0, jiffies 8888021 (age 10622.593s)
> 
>   hex dump (first 32 bytes):
> 
>     00 f4 b2 cf 00 f4 b2 cf 08 f4 b2 cf 08 f4 b2 cf  ................
> 
>     11 2a ff d0 10 b8 fd d0 00 00 00 00 08 41 88 00  .*...........A..
> 
>   backtrace:
> 
>     [<c01254bc>] create_object+0x10c/0x25c
> 
>     [<c068273c>] kmemleak_alloc+0x44/0x78
> 
>     [<c01228f0>] __kmalloc+0x140/0x228
> 
>     [<bf075aa0>] cfg80211_inform_bss_frame+0x74/0x1fc [cfg80211]       
> 
>     [<bf0b5ca4>] ieee80211_bss_info_update+0x58/0x300 [mac80211]
> 
>     [<bf0b6038>] ieee80211_scan_rx+0xec/0x1c0 [mac80211]
> 
>     [<bf0cc56c>] ieee80211_rx+0x700/0x79c [mac80211]
> 
>     [<bf14e564>] wl1271_flush_deferred_work+0x34/0x7c [wlcore]
> 
>     [<bf14e5d0>] wl1271_netstack_work+0x24/0x34 [wlcore]
> 
>     [<c0067510>] process_one_work+0x13c/0x4b4
> 
>     [<c0067a1c>] worker_thread+0x194/0x3e0
> 
>     [<c006c8d0>] kthread+0x98/0xa4
> 
>     [<c004f7c4>] do_exit+0x0/0x80c
> 
>     [<ffffffff>] 0xffffffff
> 
>  
> 
>  
> 
> unreferenced object 0xd0e168c0 (size 192):
> 
>   comm "softirq", pid 0, jiffies 7839220 (age 18816.335s)
> 
>   hex dump (first 32 bytes):
> 
>     00 09 6d 69 74 61 63 77 6c 61 6e 01 06 98 24 b0  ..mitacwlan...$.
> 
>     48 60 6c 05 04 01 03 00 00 07 0c 54 57 20 38 03  H`l........TW 8.
> 
>   backtrace:
> 
>     [<c01254bc>] create_object+0x10c/0x25c
> 
>     [<c068273c>] kmemleak_alloc+0x44/0x78
> 
>     [<c01228f0>] __kmalloc+0x140/0x228
> 
>     [<bf075310>] cfg80211_bss_update_bss+0x180/0x238 [cfg80211]  
> 
>     [<bf075750>] cfg80211_bss_update+0xe4/0x3c0 [cfg80211]
> 
>     [<bf075b78>] cfg80211_inform_bss_frame+0x14c/0x1fc [cfg80211]
> 
>     [<bf0b5ca4>] ieee80211_bss_info_update+0x58/0x300 [mac80211]
> 
>     [<bf0b6038>] ieee80211_scan_rx+0xec/0x1c0 [mac80211]
> 
>     [<bf0cc56c>] ieee80211_rx+0x700/0x79c [mac80211]
> 
>     [<bf14e564>] wl1271_flush_deferred_work+0x34/0x7c [wlcore]
> 
>     [<bf14e5d0>] wl1271_netstack_work+0x24/0x34 [wlcore]
> 
>     [<c0067510>] process_one_work+0x13c/0x4b4
> 
>     [<c0067a1c>] worker_thread+0x194/0x3e0
> 
>     [<c006c8d0>] kthread+0x98/0xa4
> 
>     [<c004f7c4>] do_exit+0x0/0x80c
> 
>     [<ffffffff>] 0xffffffff
> 
>  
> 
> unreferenced object 0xd0ca2c00 (size 512):
> 
>  
> 
>  
> 
> 
> 
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com




More information about the Hostap mailing list