Re: [PATCH V2] virtio/vhost-user: fix qemu abort when hotunplug vhost-user-net device

2024-10-08 Thread Zhenguo Yao
On Tue, Oct 01, 2024 at 02:21:55PM +0200, Stefano Garzarella wrote: > On Thu, Sep 19, 2024 at 03:29:44PM GMT, yaozhenguo wrote: > > During the process of hot-unplug in vhost-user-net NIC, vhost_user_cleanup > > may add same rcu node to rcu list. Function calls are as follows: > > > > vhost_user_cl

Re: [PATCH V2] virtio/vhost-user: fix qemu abort when hotunplug vhost-user-net device

2024-10-01 Thread Stefano Garzarella
On Thu, Sep 19, 2024 at 03:29:44PM GMT, yaozhenguo wrote: During the process of hot-unplug in vhost-user-net NIC, vhost_user_cleanup may add same rcu node to rcu list. Function calls are as follows: vhost_user_cleanup ->vhost_user_host_notifier_remove ->call_rcu(n, vhost_user_host_noti

[PATCH V2] virtio/vhost-user: fix qemu abort when hotunplug vhost-user-net device

2024-09-19 Thread yaozhenguo
During the process of hot-unplug in vhost-user-net NIC, vhost_user_cleanup may add same rcu node to rcu list. Function calls are as follows: vhost_user_cleanup ->vhost_user_host_notifier_remove ->call_rcu(n, vhost_user_host_notifier_free, rcu); ->g_free_rcu(n, rcu); When this happ