Re: [dpdk-dev] [PATCH v2] cryptodev: fix crash on null dereference

2016-12-09 Thread De Lara Guarch, Pablo
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Saturday, December 03, 2016 6:34 PM > To: dev@dpdk.org > Cc: Doherty, Declan; De Lara Guarch, Pablo; Jerin Jacob; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v2] cryptodev:

[dpdk-dev] [PATCH v2] cryptodev: fix crash on null dereference

2016-12-03 Thread Jerin Jacob
crypodev->data->name will be null when rte_cryptodev_get_dev_id() invoked without a valid crypto device instance. Fixes: d11b0f30df88 ("cryptodev: introduce API and framework for crypto devices") Signed-off-by: Jerin Jacob Acked-by: Arek Kusztal CC: sta...@dpdk.org --- lib/librte_cryptodev/rt