o11s / open80211s

open80211s
Other
242 stars 55 forks source link

kmemleak: 2 new suspected memory leaks #38

Open jlopex opened 10 years ago

jlopex commented 10 years ago

Possible memory leak using wireless-testing (commit-id b75ff5e)

root@qemu:~# cat /sys/kernel/debug/kmemleak

unreferenced object 0xffff880015ab84c0 (size 64): comm "softirq", pid 0, jiffies 4294888798 (age 1166.893s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 01 01 01 00 00 00 01 01 01 00 00 00 01 01 01 ................ backtrace: [] kmemleak_alloc+0x26/0x50 [] kmem_cache_alloc_trace+0xe7/0x260 [] mesh_add_vendor_ies+0x31/0xf0 [mac80211] [] ieee80211_mesh_build_beacon+0x44/0x640 [mac80211] [] mesh_table_alloc+0xb4/0x120 [mac80211] [] mesh_path_lookup+0x1e/0xb0 [mac80211] [] ieee80211_mgd_assoc+0x76d/0xb40 [mac80211] [] ieee80211_mgd_stop+0xc1/0xd0 [mac80211] [] queues_read+0x3b/0xf0 [mac80211] [] ieee80211_mgd_probe_ap_send+0x5c/0x240 [mac80211] [] ieee80211_rx_mgmt_beacon+0x8b5/0x14f0 [mac80211] [] ieee80211_scan_rx+0x3b/0x2b0 [mac80211] [] process_one_work+0x1dd/0x6e0 [] worker_thread+0x11b/0x370 [] kthread+0xdb/0xe0 [] ret_from_fork+0x7c/0xb0

unreferenced object 0xffff880015bb3e80 (size 64): comm "softirq", pid 0, jiffies 4294888798 (age 1166.894s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 01 01 01 00 00 00 01 01 01 00 00 00 01 01 01 ................ backtrace: [] kmemleak_alloc+0x26/0x50 [] kmem_cache_alloc_trace+0xe7/0x260 [] mesh_add_vendor_ies+0x31/0xf0 [mac80211] [] ieee80211_mesh_build_beacon+0x44/0x640 [mac80211] [] mesh_table_alloc+0xb4/0x120 [mac80211] [] mesh_path_lookup+0x1e/0xb0 [mac80211] [] ieee80211_mgd_assoc+0x76d/0xb40 [mac80211] [] ieee80211_mgd_stop+0xc1/0xd0 [mac80211] [] queues_read+0x3b/0xf0 [mac80211] [] ieee80211_mgd_probe_ap_send+0x5c/0x240 [mac80211] [] ieee80211_rx_mgmt_beacon+0x8b5/0x14f0 [mac80211] [] ieee80211_scan_rx+0x3b/0x2b0 [mac80211] [] process_one_work+0x1dd/0x6e0 [] worker_thread+0x11b/0x370 [] kthread+0xdb/0xe0 [] ret_from_fork+0x7c/0xb0 root@qemu:~#