Go to file
Michael Baum 93fa67fb11 net/mlx5: fix Rx hash queue creation error flow
The mlx5_hrxq_new function allocates several resources and if one of the
allocations fails, the function jumps to an error label where it
releases all the allocated resources.

When the TIR action creation fails, the hrxq memory is not released what
can cause a resource leak.

Add an appropriate release to the hrxq pointer in the error flow.

Fixes: 772dc0eb83 ("net/mlx5: convert hrxq to indexed")
Fixes: dc9ceff73c ("net/mlx5: create advanced RxQ via DevX")
Cc: stable@dpdk.org

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2020-09-18 18:55:08 +02:00
.ci ci: reduce examples in static builds 2020-04-17 23:34:08 +02:00
app test/service: fix race condition on stopping lcore 2020-09-21 16:37:59 +02:00
buildtools buildtools: remove scripts used only with make 2020-09-08 00:11:11 +02:00
config avoid libfdt checks adding full paths to pkg-config 2020-09-15 15:19:34 +02:00
devtools config: remove default configs used with make 2020-09-08 00:11:30 +02:00
doc net/ark: remove Tx padding configuration macro 2020-09-18 18:55:08 +02:00
drivers net/mlx5: fix Rx hash queue creation error flow 2020-09-18 18:55:08 +02:00
examples mbuf: remove deprecated function and macro aliases 2020-09-19 00:25:37 +02:00
kernel mbuf: remove physical address alias 2020-09-19 00:25:37 +02:00
lib ethdev: allow unknown link speed 2020-09-18 18:55:07 +02:00
license eal: move OS-specific sub-directories 2020-03-31 13:08:55 +02:00
usertools usertools: support globbing for PCI device binding 2020-09-08 23:39:32 +02:00
.editorconfig devtools: add EditorConfig file 2020-02-22 21:05:22 +01:00
.gitattributes
.gitignore regex/mlx5: introduce driver for BlueField 2 2020-07-21 19:04:05 +02:00
.travis.yml version: 20.11-rc0 2020-08-12 11:32:16 +02:00
ABI_VERSION version: 20.11-rc0 2020-08-12 11:32:16 +02:00
MAINTAINERS bpf: promote library as stable 2020-09-16 18:52:55 +02:00
Makefile build: create dummy Makefile 2020-09-07 23:51:57 +02:00
meson_options.txt trace: introduce new subsystem 2020-04-23 15:39:06 +02:00
meson.build build: check AVX512 rather than binutils version 2020-07-05 21:32:40 +02:00
README
VERSION version: 20.11-rc0 2020-08-12 11:32:16 +02:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org