numam-dpdk/drivers/net/mlx5
Michael Baum e28e6c63a9 net/mlx5: fix leak on Rx queue creation failure
In Rx queue creation, there are some validations for the Rx
configuration.

When one of them fails, the MR btree memory was not freed what caused a
memory leak.

Free it.

Fixes: 974f1e7ef1 ("net/mlx5: add new memory region support")
Cc: stable@dpdk.org

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-01-08 16:34:52 +01:00
..
linux net/mlx5: wrap flow domain sync per OS 2021-01-08 16:03:08 +01:00
windows net/mlx5: fix comparison sign in flow engine 2021-01-08 16:03:08 +01:00
meson.build net/mlx5: remove Linux files from Windows compilation 2021-01-08 16:03:07 +01:00
mlx5_defs.h net/mlx5: do not define static assert in Windows 2021-01-08 16:03:07 +01:00
mlx5_devx.c net/mlx5: enable more shared code on Windows 2021-01-08 16:03:08 +01:00
mlx5_devx.h net/mlx5: share Tx control code 2020-10-09 13:17:42 +02:00
mlx5_ethdev.c net/mlx5: fix buffer split offload advertising 2021-01-08 16:03:05 +01:00
mlx5_flow_age.c net/mlx5: use OS-independent code in ASO feature 2021-01-08 16:03:08 +01:00
mlx5_flow_dv.c net/mlx5: fix VXLAN decap on non-VXLAN flow 2021-01-08 16:34:52 +01:00
mlx5_flow_meter.c net/mlx5: make meter action thread safe 2020-11-03 23:35:04 +01:00
mlx5_flow_verbs.c net/mlx5: enable more shared code on Windows 2021-01-08 16:03:08 +01:00
mlx5_flow.c net/mlx5: fix shared RSS and mark actions combination 2021-01-08 16:34:51 +01:00
mlx5_flow.h net/mlx5: enable more shared code on Windows 2021-01-08 16:03:08 +01:00
mlx5_mac.c net/mlx5: remove unused includes 2020-09-18 18:55:06 +02:00
mlx5_mr.c common/mlx5: free MR resource on device DMA unmap 2020-11-13 16:26:54 +01:00
mlx5_mr.h common/mlx5: remove inclusion of Verbs header files 2020-07-21 15:46:30 +02:00
mlx5_rss.c net/mlx5: fix RSS RETA reset on start 2020-09-18 18:55:11 +02:00
mlx5_rxmode.c common/mlx5: remove inclusion of Verbs header files 2020-07-21 15:46:30 +02:00
mlx5_rxq.c net/mlx5: fix leak on Rx queue creation failure 2021-01-08 16:34:52 +01:00
mlx5_rxtx_vec_altivec.h net/mlx5: fix CQE decompression for Arm and PowerPC 2020-11-03 23:35:08 +01:00
mlx5_rxtx_vec_neon.h net/mlx5: fix CQE decompression for Arm and PowerPC 2020-11-03 23:35:08 +01:00
mlx5_rxtx_vec_sse.h net/mlx5: support flow tag and packet header miniCQEs 2020-11-03 23:35:07 +01:00
mlx5_rxtx_vec.c net/mlx5: fix mbuf overflow in vectorized MPRQ 2020-11-22 15:37:03 +01:00
mlx5_rxtx_vec.h net/mlx5: implement vectorized MPRQ burst 2020-11-03 23:24:25 +01:00
mlx5_rxtx.c net/mlx5: move static asserts to global scope 2021-01-08 16:03:07 +01:00
mlx5_rxtx.h net/mlx5: define MPRQ functions as static inline 2021-01-08 16:03:07 +01:00
mlx5_stats.c net/mlx5: fix xstats reset reinitialization 2020-11-03 23:24:25 +01:00
mlx5_trigger.c net/mlx5: skip IPv6 broadcast flow creation failure 2021-01-08 16:03:08 +01:00
mlx5_txpp.c common/mlx5: wrap event channel functions per OS 2021-01-08 16:03:07 +01:00
mlx5_txq.c net/mlx5: fix Tx queue completion on stop 2020-11-13 19:43:25 +01:00
mlx5_utils.c net/mlx5: optimize hash list entry memory 2021-01-08 16:03:04 +01:00
mlx5_utils.h net/mlx5: optimize hash list entry memory 2021-01-08 16:03:04 +01:00
mlx5_vlan.c net/mlx5: remove Rx queue object type field 2020-10-09 13:17:42 +02:00
mlx5.c net/mlx5: initialize context list mutex dynamically 2021-01-08 16:03:08 +01:00
mlx5.h net/mlx5: fix device name size on Windows 2021-01-08 16:03:08 +01:00
rte_pmd_mlx5.h net/mlx5: add flow sync API 2020-11-03 23:35:04 +01:00
version.map net/mlx5: add flow sync API 2020-11-03 23:35:04 +01:00