vhost: fix return value on enqueue path
authorTiwei Bie <tiwei.bie@intel.com>
Thu, 6 Sep 2018 04:59:27 +0000 (12:59 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 14 Sep 2018 18:08:41 +0000 (20:08 +0200)
commit58e90a91138d2ed491b37b2173fe39ae44c9ca06
treec450949ab22dabece84ec803b6a229537a552c9a
parent0d7853a4da3bd681005ecb64ef1183c59356eeea
vhost: fix return value on enqueue path

Fixes: 62250c1d0978 ("vhost: extract split ring handling from Rx and Tx functions")
Fixes: a922401f35cc ("vhost: add Rx support for packed ring")
Cc: stable@dpdk.org
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/virtio_net.c