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

2024-09-18 Thread Zhenguo Yao
yaozhenguo 于2024年9月13日周五 16:08写道: > > 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,

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

2024-09-13 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