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

2024-10-10 Thread Zhenguo Yao
Stefano Garzarella 于2024年10月10日周四 16:20写道: > > On Thu, Oct 10, 2024 at 02:18:24PM GMT, 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 relationship in t

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

2024-10-10 Thread Stefano Garzarella
On Thu, Oct 10, 2024 at 02:18:24PM GMT, 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 relationship in this case is as follows: vhost_user_cleanup ->vhost_use

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

2024-10-09 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 relationship in this case is as follows: vhost_user_cleanup ->vhost_user_host_notifier_remove ->call_rcu(n, vhost_user_hos