numam-dpdk/lib
Hrvoje Habjanic fbd8981cdd sched: fix subport freeing
In function rte_sched_subport_free, there is code to free all allocated
stuff related to scheduler subport.
First there are some checks, and in the end, rte_bitmap_free is called.

Now, rte_bitmap_free is a dummy function, and it just checks if
provided pointer to bitmap is valid or not. So, actual memory for
subport is not freed.

This patch fixes this by removing call to rte_bitmap_free, and
instead calling rte_free.

Fixes: d9213b829a ("sched: remove pipe params config from port level")
Cc: stable@dpdk.org

Signed-off-by: Hrvoje Habjanic <hrvoje.habjanic@zg.ht.hr>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Jasvinder Singh <jasvinder.singh@intel.com>
2020-06-25 00:43:28 +02:00
..
librte_acl replace alignment attributes 2020-04-16 18:16:18 +02:00
librte_bbdev bbdev: fix doxygen comments 2020-05-11 13:17:43 +02:00
librte_bitratestats build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
librte_bpf bpf/x86: support packet data load instructions 2020-06-24 23:42:20 +02:00
librte_cfgfile cfgfile: check flags on creation for future proofing 2020-06-16 17:46:39 +02:00
librte_cmdline replace unused attributes 2020-04-16 18:30:58 +02:00
librte_compressdev build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
librte_cryptodev cryptodev: fix SHA-1 digest enum comment 2020-05-24 11:52:35 +02:00
librte_distributor build: add global libatomic dependency for 32-bit clang 2020-04-21 11:34:09 +02:00
librte_eal eal/windows: support exit and panic 2020-06-24 11:02:51 +02:00
librte_efd replace packed attributes 2020-04-16 18:16:46 +02:00
librte_ethdev doc: refine ethernet and VLAN flow rule items 2020-05-11 22:27:39 +02:00
librte_eventdev eventdev: fix probe and remove for secondary process 2020-05-02 12:31:57 +02:00
librte_fib build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
librte_flow_classify build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
librte_graph graph: implement fastpath routines 2020-05-05 23:32:02 +02:00
librte_gro build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
librte_gso build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
librte_hash hash: check flags on creation for future proofing 2020-06-16 17:46:39 +02:00
librte_ip_frag ip_frag: ensure minimum v6 fragmentation length 2020-04-25 15:15:27 +02:00
librte_ipsec ipsec: check SAD lookup error 2020-05-11 13:17:43 +02:00
librte_jobstats build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
librte_kni kni: fix not contiguous FIFO 2020-02-14 11:59:01 +01:00
librte_kvargs kvargs: fix strcmp helper documentation 2020-05-19 15:05:56 +02:00
librte_latencystats latency: fix calculation for multi-thread 2020-01-20 01:32:50 +01:00
librte_lpm lpm6: fix comments spelling 2020-04-24 19:29:02 +02:00
librte_mbuf mbuf: align layout in Windows 2020-06-11 16:26:33 +02:00
librte_member build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
librte_mempool trace: add size_t field emitter 2020-06-15 19:27:00 +02:00
librte_meter meter: remove inline functions from export list 2020-06-23 19:29:41 +02:00
librte_metrics metrics: fix library cleanup 2020-05-19 14:05:21 +02:00
librte_net net: fix IPv4 checksum 2020-06-24 23:42:20 +02:00
librte_node node: fix arm64 build with old gcc 2020-05-13 15:38:50 +02:00
librte_pci pci: explain how empty strings are rejected in DBDF 2020-05-19 11:18:38 +02:00
librte_pdump ring: prepare ring to allow new sync schemes 2020-04-21 11:34:09 +02:00
librte_pipeline replace packed attributes 2020-04-16 18:16:46 +02:00
librte_port ring: prepare ring to allow new sync schemes 2020-04-21 11:34:09 +02:00
librte_power replace unused attributes 2020-04-16 18:30:58 +02:00
librte_rawdev eal: add telemetry as dependency 2020-05-11 00:37:16 +02:00
librte_rcu rcu: add additional debug logs 2020-04-22 20:46:00 +02:00
librte_reorder build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
librte_rib build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
librte_ring ring: check flag settings for future proofing 2020-06-16 17:46:39 +02:00
librte_sched sched: fix subport freeing 2020-06-25 00:43:28 +02:00
librte_security security: fix crash at accessing non-implemented ops 2020-04-23 17:56:38 +02:00
librte_stack stack: check flags on creation for future proofing 2020-06-16 17:46:39 +02:00
librte_table eal: fix compiler detection in public headers 2020-03-18 00:59:17 +01:00
librte_telemetry telemetry: fix init log printing 2020-05-24 18:01:31 +02:00
librte_timer timer: relax barrier for status update 2020-04-26 22:07:38 +02:00
librte_vhost vhost: fix zero-copy server mode 2020-05-19 17:12:17 +02:00
Makefile eal: add telemetry as dependency 2020-05-11 00:37:16 +02:00
meson.build eal: add telemetry as dependency 2020-05-11 00:37:16 +02:00