eventdev: fix unlock in Rx adapter
authorNikhil Rao <nikhil.rao@intel.com>
Tue, 20 Nov 2018 22:09:15 +0000 (03:39 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 23 Nov 2018 01:03:33 +0000 (02:03 +0100)
commite846cfdec34cc58b9a1a2438d313028246b8e986
treeb7322356a33637112d42c1f7e57e7e6dc698c485
parentff0633d2b1b9457261528de739da0f4c0fe83b32
eventdev: fix unlock in Rx adapter

In the eth Rx adapter SW service function,
move the return to after the spinlock unlock.

Coverity issue: 302857
Fixes: a66a83744667 ("eventdev: fix Rx SW adapter stop")
Cc: stable@dpdk.org
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
lib/librte_eventdev/rte_event_eth_rx_adapter.c