[OpenWrt-Devel] Memory leak in mac80211?

Felix Fietkau nbd at openwrt.org
Sun Dec 20 11:20:54 EST 2015

On 2015-12-20 17:00, Arjen de Korte wrote:
> Citeren Felix Fietkau <nbd at openwrt.org>:
>> On 2015-12-20 11:52, Arjen de Korte wrote:
>>> Since commit 47771 it seems my WNDR4300 router suffers from a memory
>>> leak. Before then, the amount of free memory was always around 75%,
>>> but since then it steadily decreases until it runs out of memory and
>>> reboots. The process then starts all over again. After a couple of
>>> days of 'git bisect'ing, I found this to be the commit that introduced
>>> this phenomenon. See attached kmemleak.txt file for more information.
>>> I don't know how to go on from here to aid in debugging what is going
>>> on. Is there something else I can provide to help finding how to solve
>>> this?
>> Please copy http://nbd.name/990-remove_full_ap_client_state.patch to
>> package/kernel/mac80211/patches and try again.
> Still no joy, see attached kmemleak output. In about four hours time,  
> free memory decreased by about 10% (of 128 MB). Is there anything else  
> I can do to aid in finding the cause? This is with r47953 by the way,  
> with the above mentioned patch included (I checked in the build_dir,  
> the patch applied successfully.
Please show me your /etc/config/wireless. I will continue to go through
the differences between those two compat-wireless trees and make some
patches for you to test.

- Felix
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list