Re: [dpdk-dev] [PATCH v2] net/virtio-user: fix segfault as features change

2018-01-26 Thread Yuanhan Liu
On Tue, Jan 23, 2018 at 09:52:43AM +, Jianfeng Tan wrote: > Since commit 59fe5e17d930 ("vhost: propagate set features handling error"), > vhost does not allow to set different features without reset. > > The virito-user driver fails to reset the device in below commit. > > To fix, we send the

[dpdk-dev] [PATCH v2] net/virtio-user: fix segfault as features change

2018-01-23 Thread Jianfeng Tan
Since commit 59fe5e17d930 ("vhost: propagate set features handling error"), vhost does not allow to set different features without reset. The virito-user driver fails to reset the device in below commit. To fix, we send the reset message as stopping the device. Fixes: c12a26ee209e ("net/virtio-u