numam-dpdk/drivers/crypto/ccp
Yunjian Wang 4f429be4c0 crypto/ccp: fix fd leak on probe failure
Zero is a valid fd. When ccp_probe_device() is failed, the uio_fd won't be
closed thus leading fd leak.

Fixes: ef4b04f87f ("crypto/ccp: support device init")
Cc: stable@dpdk.org

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Acked-by: Ravi Kumar <ravi1.kumar@amd.com>
2020-05-11 13:17:43 +02:00
..
ccp_crypto.c crypto/ccp: fix scheduling of burst 2019-11-25 11:01:36 +01:00
ccp_crypto.h crypto/ccp: fix scheduling of burst 2019-11-25 11:01:36 +01:00
ccp_dev.c crypto/ccp: fix fd leak on probe failure 2020-05-11 13:17:43 +02:00
ccp_dev.h crypto/ccp: fix queue alignment 2020-02-13 12:41:04 +01:00
ccp_pci.c crypto/ccp: fix resource leak 2018-11-12 13:41:48 +01:00
ccp_pci.h crypto/ccp: support device init 2018-04-23 18:19:48 +01:00
ccp_pmd_ops.c cryptodev: remove unused operation for queue count 2020-04-05 18:26:04 +02:00
ccp_pmd_private.h crypto/ccp: fix scheduling of burst 2019-11-25 11:01:36 +01:00
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build drivers: add reasons for components being disabled 2019-07-02 23:21:11 +02:00
rte_ccp_pmd.c cryptodev: add session-less feature flag 2020-04-19 22:45:11 +02:00
rte_pmd_ccp_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00