[dpdk-dev] [PATCH] vhost: fix close callfd on get vring base

Tan, Jianfeng jianfeng.tan at intel.com
Sun Feb 11 02:47:57 CET 2018



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tomasz Kulasek
> Sent: Saturday, February 10, 2018 1:11 AM
> To: yliu at fridaylinux.org
> Cc: dev at dpdk.org; Xie, Huawei; stable at dpdk.org; Stojaczyk, DariuszX
> Subject: [dpdk-dev] [PATCH] vhost: fix close callfd on get vring base
> 
> 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>

Reviewed-by: Jianfeng Tan <jianfeng.tan at intel.com>

Thanks for fixing this.


More information about the dev mailing list