numam-dpdk/lib/librte_cryptodev
Slawomir Mrozowicz b75a76d354 cryptodev: fix crash when querying device by name
This patch fixes a segmentation fault in function
rte_cryptodev_devices_get(), due to incorrect driver name path.
It reworks the function to use correct types and clean up
for visibility.

Coverity issue: 141067
Fixes: 38227c0e3a ("cryptodev: retrieve device info")

Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2017-02-10 15:57:29 +01:00
..
Makefile lib: fix ABI version after device model rework 2016-11-06 20:53:23 +01:00
rte_crypto_sym.h cryptodev: retrieve device info 2017-01-30 17:46:36 +01:00
rte_crypto.h lib: work around unnamed structs/unions 2016-09-13 15:35:28 +02:00
rte_cryptodev_pmd.h cryptodev: uninline some functions 2017-01-30 17:23:33 +01:00
rte_cryptodev_version.map cryptodev: retrieve device info 2017-01-30 17:46:36 +01:00
rte_cryptodev.c cryptodev: fix crash when querying device by name 2017-02-10 15:57:29 +01:00
rte_cryptodev.h cryptodev: fix crash when querying device by name 2017-02-10 15:57:29 +01:00