[dpdk-dev] [PATCH] vhost: fix close callfd on get vring base
Maxime Coquelin
maxime.coquelin at redhat.com
Tue Feb 20 10:09:40 CET 2018
On 02/09/2018 06:10 PM, Tomasz Kulasek wrote:
> This prevents from destroying & recreating user device in "incomplete"
> vring state. virtio_is_ready() was returning true for devices with
> vrings which did not have valid callfd (their VHOST_USER_SET_VRING_CALL
> hasn't arrived yet)
>
> Fixes: 8f972312b8f4 ("vhost: support vhost-user")
> Cc:huawei.xie at intel.com
> Cc:stable at dpdk.org
>
> Signed-off-by: Dariusz Stojaczyk<dariuszx.stojaczyk at intel.com>
> Signed-off-by: Tomasz Kulasek<tomaszx.kulasek at intel.com>
> ---
> lib/librte_vhost/vhost_user.c | 5 +++++
> 1 file changed, 5 insertions(+)
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
and applied to dpdk-next-virtio/master.
Thanks,
Maxime
More information about the dev
mailing list