
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/ICBFCS -------------------------------- Free oecls_numa_info_table memory when remove module. Fixes: d7d9edb24c1c ("net/oenetcls: Support cluster sched") Signed-off-by: Wang Liang <wangliang74@huawei.com> --- net/oenetcls/oenetcls_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/oenetcls/oenetcls_main.c b/net/oenetcls/oenetcls_main.c index 8e90552112b9..0117d181f379 100644 --- a/net/oenetcls/oenetcls_main.c +++ b/net/oenetcls/oenetcls_main.c @@ -591,6 +591,7 @@ struct oecls_numa_info *get_oecls_numa_info(unsigned int nid) static void clean_oecls_numa_info(void) { oecls_numa_num = 0; + free_to_l0(oecls_numa_info_table); } static void init_numa_avail_cpus(int nid, struct oecls_numa_info *numa_info) -- 2.34.1