vhost: release locks on RARP packet failure
Fixes: eefac9536a90 ("vhost: postpone device creation until rings are mapped") Cc: stable@dpdk.org Signed-off-by: Tiwei Bie <tiwei.bie@intel.com> Reviewed-by: Jens Freimann <jfreimann@redhat.com>
This commit is contained in:
parent
14962a9c4f
commit
0989161b26
@ -1628,7 +1628,8 @@ rte_vhost_dequeue_burst(int vid, uint16_t queue_id,
|
||||
if (rarp_mbuf == NULL) {
|
||||
RTE_LOG(ERR, VHOST_DATA,
|
||||
"Failed to make RARP packet.\n");
|
||||
return 0;
|
||||
count = 0;
|
||||
goto out;
|
||||
}
|
||||
count -= 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user