numam-dpdk/drivers/crypto
Michael Baum 56ec985f31 crypto/mlx5: fix leaks on probing failure
In crypto driver probing, there are two validations after context
allocation.

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

Free it.

Fixes: debb27ea34 ("crypto/mlx5: create login object using DevX")
Fixes: e8db4413cb ("crypto/mlx5: add keytag configuration")
Cc: stable@dpdk.org

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-07-30 21:08:19 +02:00
..
aesni_gcm crypto/aesni_gcm: fix performance on some AVX512 CPUs 2021-07-07 21:28:39 +02:00
aesni_mb log: register with standardized names 2021-05-11 15:17:55 +02:00
armv8 log: register with standardized names 2021-05-11 15:17:55 +02:00
bcmfs log: register with standardized names 2021-05-11 15:17:55 +02:00
caam_jr drivers: change indentation in build files 2021-04-21 14:04:09 +02:00
ccp crypto/ccp: convert driver from vdev to PCI 2021-07-30 20:57:23 +02:00
cnxk crypto/cnxk: add null check for RSA key data 2021-07-30 20:57:23 +02:00
dpaa2_sec crypto/dpaa2_sec: fix close and uninit functions 2021-05-05 17:16:25 +02:00
dpaa_sec crypto/dpaa_sec: affine the thread portal affinity 2021-05-05 17:14:54 +02:00
kasumi log: register with standardized names 2021-05-11 15:17:55 +02:00
mlx5 crypto/mlx5: fix leaks on probing failure 2021-07-30 21:08:19 +02:00
mvsam crypto/mvsam: support IPsec offload 2021-07-21 15:08:52 +02:00
nitrox log: register with standardized names 2021-05-11 15:17:55 +02:00
null log: register with standardized names 2021-05-11 15:17:55 +02:00
octeontx crypto/octeontx: fix freeing after device release 2021-07-30 21:08:19 +02:00
octeontx2 common/cpt: allocate auth key dynamically 2021-07-20 10:32:05 +02:00
openssl log: register with standardized names 2021-05-11 15:17:55 +02:00
qat crypto/qat: disable asymmetric crypto on GEN3 2021-07-30 21:08:19 +02:00
scheduler log: register with standardized names 2021-05-11 15:17:55 +02:00
snow3g log: register with standardized names 2021-05-11 15:17:55 +02:00
virtio log: register with standardized names 2021-05-11 15:17:55 +02:00
zuc crypto/zuc: fix build with GCC 11 2021-05-19 14:54:29 +02:00
meson.build crypto/mlx5: introduce Mellanox crypto driver 2021-07-20 21:45:58 +02:00