[][HIGH][kernel][common][eth][Fix ADMAv1/v2 RSS ring memory leak issue]
[Description]
Fix ADMAv1/v2 RSS ring memory leak issue.
Due to incorrect memory release method, memory leak issue occurs
when executing network restart. Without SRAM, a single network
restart will leak approximately 98KB of memory.
Without this patch, not using SRAM may lead to memory exhaustion
and cause the system crash.
[Release-log]
N/A
Change-Id: I80a04e7755b679ff391bd6f8f1a9c3efef2dbe87
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9180999
1 file changed