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

2024-10-15 Thread Stefano Garzarella
On Fri, Oct 11, 2024 at 06:29:13PM +0800, yaozhenguo wrote: During the hot-unplugging of vhost-user-net type network cards, the vhost_user_cleanup function may add the same rcu node to the rcu linked list. The function call in this case is as follows: vhost_user_cleanup ->vhost_user_host_noti

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

2024-10-11 Thread yaozhenguo
During the hot-unplugging of vhost-user-net type network cards, the vhost_user_cleanup function may add the same rcu node to the rcu linked list. The function call in this case is as follows: vhost_user_cleanup ->vhost_user_host_notifier_remove ->call_rcu(n, vhost_user_host_notifier_fr