[OpenWrt-Devel] Wireless monitor interface causes device to run out of memory

Rafał Miłecki zajec5 at gmail.com
Tue Feb 11 11:03:26 EST 2020


On Wed, 5 Feb 2020 at 11:14, Rafał Miłecki <zajec5 at gmail.com> wrote:
> I noticed that my bcm53xx devices run out of memory after running
> wireless monitor interface for about 2 days.
>
> This problem occurs since 0694d08c84fd ("bcm53xx: switch to kernel
> 4.9") which bumped kernel from 4.4.53 to 4.9.14 and is still present
> when using 4.14.
>
> Interestingly this memory drain requires at least one of:
> net.ipv6.conf.default.forwarding=1
> net.ipv6.conf.all.forwarding=1
> to be set. OpenWrt happens to use both by default.
>
> This is *not* a memory leak. Restarting wireless interfaces frees all
> consumed memory.
>
> Any idea what may be causing this?

This regression is caused by 1666d49e1d41 ("mld: do not remove mld
souce list info when set link down") which was later backported as
53a76d633b86 to the linux-4.9.y branch.

Reverting that commit from 4.9.14 or 4.14.169 /fixes/ device running
out of memory problem.

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list