numam-dpdk/lib/sched
Weiguo Li 79aab97c94 sched: remove useless malloc in PIE data init
'rte_pie_rt_data_init(NULL)' is not expected, and it's ought to
fail when this happen. The malloc inside the function didn't work.
So remove the malloc otherwise will lead to a memory leak.

Fixes: 44c730b0e3 ("sched: add PIE based congestion management")
Cc: stable@dpdk.org

Signed-off-by: Weiguo Li <liwg06@foxmail.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
2022-03-07 19:34:24 +01:00
..
meson.build sched: add PIE based congestion management 2021-11-04 15:41:49 +01:00
rte_approx.c
rte_approx.h
rte_pie.c sched: remove useless malloc in PIE data init 2022-03-07 19:34:24 +01:00
rte_pie.h fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
rte_red.c
rte_red.h lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
rte_sched_common.h sched: get 64-bit greatest common divisor 2021-09-27 17:24:16 +02:00
rte_sched.c sched: enable traffic class oversubscription unconditionally 2022-02-24 23:44:21 +01:00
rte_sched.h lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
version.map sched: add PIE based congestion management 2021-11-04 15:41:49 +01:00