numam-dpdk/drivers/net
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
..
af_packet build: remove makefiles 2020-09-08 00:09:50 +02:00
af_xdp net/af_xdp: change return value from Rx to unsigned 2020-09-18 18:55:07 +02:00
ark net/ark: remove Tx padding configuration macro 2020-09-18 18:55:08 +02:00
atlantic build: remove makefiles 2020-09-08 00:09:50 +02:00
avp build: remove makefiles 2020-09-08 00:09:50 +02:00
axgbe mbuf: remove deprecated function and macro aliases 2020-09-19 00:25:37 +02:00
bnx2x build: remove makefiles 2020-09-08 00:09:50 +02:00
bnxt net/bnxt: fix speed setting on certain adapters 2020-09-18 18:55:07 +02:00
bonding build: remove makefiles 2020-09-08 00:09:50 +02:00
cxgbe build: remove makefiles 2020-09-08 00:09:50 +02:00
dpaa net/dpaa: support configuring RSS on runtime 2020-09-18 18:55:08 +02:00
dpaa2 build: remove makefiles 2020-09-08 00:09:50 +02:00
e1000 build: remove makefiles 2020-09-08 00:09:50 +02:00
ena net/ena/base: fix doorbell evaluation for LLQ 2020-09-18 18:55:05 +02:00
enetc build: remove makefiles 2020-09-08 00:09:50 +02:00
enic build: remove makefiles 2020-09-08 00:09:50 +02:00
failsafe net/failsafe: fix double space in warning log 2020-09-18 18:55:06 +02:00
fm10k net/fm10k: use inclusive engineering terminology 2020-09-18 18:55:07 +02:00
hinic net/hinic: fix negative array index read 2020-09-18 18:55:06 +02:00
hns3 net/hns3: fix out of bounds access 2020-09-18 18:55:07 +02:00
i40e net/i40e: fix link status 2020-09-18 18:55:07 +02:00
iavf net/iavf: refactor RSS 2020-09-18 18:55:08 +02:00
ice net/ice: fix flow validation for unsupported patterns 2020-09-18 18:55:08 +02:00
igc build: remove makefiles 2020-09-08 00:09:50 +02:00
ionic build: remove makefiles 2020-09-08 00:09:50 +02:00
ipn3ke avoid libfdt checks adding full paths to pkg-config 2020-09-15 15:19:34 +02:00
ixgbe net/ixgbe: return unknown speed in status 2020-09-18 18:55:07 +02:00
kni build: remove makefiles 2020-09-08 00:09:50 +02:00
liquidio bus/pci: switch to private kernel driver enum 2020-09-21 10:11:44 +02:00
memif build: remove makefiles 2020-09-08 00:09:50 +02:00
mlx4 build: remove makefiles 2020-09-08 00:09:50 +02:00
mlx5 net/mlx5: fix Rx hash queue creation error flow 2020-09-18 18:55:08 +02:00
mvneta ethdev: remove unused kernel driver field 2020-09-21 09:30:36 +02:00
mvpp2 ethdev: remove unused kernel driver field 2020-09-21 09:30:36 +02:00
netvsc net/netvsc: check for overflow on packet info from host 2020-09-18 18:55:06 +02:00
nfb build: remove makefiles 2020-09-08 00:09:50 +02:00
nfp bus/pci: switch to private kernel driver enum 2020-09-21 10:11:44 +02:00
null build: remove makefiles 2020-09-08 00:09:50 +02:00
octeontx ethdev: remove unused kernel driver field 2020-09-21 09:30:36 +02:00
octeontx2 mbuf: remove deprecated function and macro aliases 2020-09-19 00:25:37 +02:00
pcap build: remove makefiles 2020-09-08 00:09:50 +02:00
pfe mem: remove physical address aliases 2020-09-19 00:25:35 +02:00
qede build: remove makefiles 2020-09-08 00:09:50 +02:00
ring ethdev: remove unused kernel driver field 2020-09-21 09:30:36 +02:00
sfc build: remove makefiles 2020-09-08 00:09:50 +02:00
softnic ethdev: remove unused kernel driver field 2020-09-21 09:30:36 +02:00
szedata2 build: remove makefiles 2020-09-08 00:09:50 +02:00
tap net/tap: avoid using SIGIO 2020-09-18 18:55:06 +02:00
thunderx build: remove makefiles 2020-09-08 00:09:50 +02:00
vdev_netvsc build: remove makefiles 2020-09-08 00:09:50 +02:00
vhost build: remove makefiles 2020-09-08 00:09:50 +02:00
virtio bus/pci: switch to private kernel driver enum 2020-09-21 10:11:44 +02:00
vmxnet3 build: remove makefiles 2020-09-08 00:09:50 +02:00
meson.build