eventdev: fix crypto adapter
authorAbhinandan Gujjar <abhinandan.gujjar@intel.com>
Wed, 24 Apr 2019 16:34:38 +0000 (22:04 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 1 May 2019 21:08:34 +0000 (23:08 +0200)
commit27e6cca81a6f77f1162e5f480d59b84483a4641f
tree22572d6232cf651b788e4381b6ae46149ed65fa5
parentbfd84d7e7f778a2f91c7b68a60c364b2921a9895
eventdev: fix crypto adapter

This patch fixes null pointer dereference and control
flow issues reported in event crypto adapter by coverity

Coverity issue: 279439, 279446, 279450, 279462
Fixes: 7901eac3409 ("eventdev: add crypto adapter implementation")
Cc: stable@dpdk.org
Signed-off-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
lib/librte_eventdev/rte_event_crypto_adapter.c