numam-dpdk/lib
Yunjian Wang c2402fcaf9 efd: fix tailq entry leak in error path
In rte_efd_create() allocated memory for tailq entry, we should
free it when error happens, otherwise it will lead to memory leak.

Fixes: 56b6ef874f ("efd: new Elastic Flow Distributor library")
Cc: stable@dpdk.org

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Acked-by: Yipeng Wang <yipeng1.wang@intel.com>
2020-10-22 22:07:15 +02:00
..
librte_acl build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_bbdev build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_bitratestats build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_bpf bpf: use helper to install headers 2020-10-22 14:15:19 +02:00
librte_cfgfile build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_cmdline build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_compressdev build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_cryptodev build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_distributor build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_eal build: fix version map file references in documentation 2020-10-22 14:11:49 +02:00
librte_efd efd: fix tailq entry leak in error path 2020-10-22 22:07:15 +02:00
librte_ethdev ethdev: rename tunnel flow offload callbacks 2020-10-19 23:28:22 +02:00
librte_eventdev build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_fib build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_flow_classify build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_graph build: standardize component names and defines 2020-10-19 22:15:34 +02:00
librte_gro build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_gso build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_hash hash: use x86 common flag for jhash 2020-10-22 22:07:15 +02:00
librte_ip_frag build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_ipsec build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_jobstats build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_kni eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
librte_kvargs build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_latencystats build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_lpm build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_mbuf build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_member build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_mempool build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_meter build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_metrics build: replace use of old build macros 2020-10-19 22:15:44 +02:00
librte_net build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_node build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_pci build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_pdump build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_pipeline build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_port build: replace use of old build macros 2020-10-19 22:15:44 +02:00
librte_power eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
librte_rawdev build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_rcu build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_regexdev build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_reorder build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_rib build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_ring build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_sched build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_security build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_stack build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_table build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_telemetry build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_timer build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
librte_vhost build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
meson.build build: replace use of old build macros 2020-10-19 22:15:44 +02:00