Re:Re: [PATCH] vhost: Fix the crash caused by accessing the released memory

2024-12-04 Thread 15957197901
Hello Maxime Coquelin, The scenario where I encountered coredump was ovs-dpdk, similar to patch: https://github.com/DPDK/dpdk/commit/52d874dc67055a943867456d3e5c730168bfba18. Only one thread called rte_vhost_driver_unregister(), but at the same time, two other threads called vhost_user_rea

Re: [PATCH] vhost: Fix the crash caused by accessing the released memory

2024-06-25 Thread Patrick Robb
rerunning the failing performance test in CI testing as it was a false failure. On Tue, Jun 25, 2024 at 2:39 AM zhaoxinxin <15957197...@163.com> wrote: > > The rte_vhost_driver_unregister() vhost_user_read_cb() > vhost_user_client_reconnect() can be called at the same time by 3 threads. > when mem

[PATCH] vhost: Fix the crash caused by accessing the released memory

2024-06-25 Thread Xinxin Zhao
The rte_vhost_driver_unregister() vhost_user_read_cb() vhost_user_client_reconnect() can be called at the same time by 3 threads. when memory of vsocket is freed in rte_vhost_driver_unregister(), then vhost_user_read_cb() maybe add vsocket to reconn_list, the invalid memory of vsocket is accessed i

[PATCH] vhost: Fix the crash caused by accessing the released memory

2024-06-24 Thread zhaoxinxin
The rte_vhost_driver_unregister() vhost_user_read_cb() vhost_user_client_reconnect() can be called at the same time by 3 threads. when memory of vsocket is freed in rte_vhost_driver_unregister(), then vhost_user_read_cb() maybe add vsocket to reconn_list, the invalid memory of vsocket is accessed i

Re:Re: [PATCH] vhost: Fix the crash caused by accessing the released memory

2024-06-24 Thread 15957197901
Hi Maxime, The scenario where I encountered coredump was ovs-dpdk, similar to patch: https://github.com/DPDK/dpdk/commit/52d874dc67055a943867456d3e5c730168bfba18. Only one thread called rte_vhost_driver_unregister(), but at the same time, two other threads called vhost_user_read_cb() and vhos

Re: [PATCH] vhost: Fix the crash caused by accessing the released memory

2024-06-24 Thread Maxime Coquelin
Hi, On 6/19/24 14:27, zhaoxinxin wrote: The rte_vhost_driver_unregister() vhost_user_read_cb() vhost_user_client_reconnect() can be called at the same time by 3 threads. when memory of vsocket is freed in rte_vhost_driver_unregister(), then vhost_user_read_cb() maybe add vsocket to reconn_list,

[PATCH] vhost: Fix the crash caused by accessing the released memory

2024-06-19 Thread zhaoxinxin
The rte_vhost_driver_unregister() vhost_user_read_cb() vhost_user_client_reconnect() can be called at the same time by 3 threads. when memory of vsocket is freed in rte_vhost_driver_unregister(), then vhost_user_read_cb() maybe add vsocket to reconn_list, the invalid memory of vsocket is accessed i

[PATCH] vhost: Fix the crash caused by accessing the released memory

2024-06-19 Thread zhaoxinxin
The rte_vhost_driver_unregister() vhost_user_read_cb() vhost_user_client_reconnect() can be called at the same time by 3 threads. when memory of vsocket is freed in rte_vhost_driver_unregister(), then vhost_user_read_cb() maybe add vsocket to reconn_list, the invalid memory of vsocket is accessed i

[PATCH] vhost: Fix the crash caused by accessing the released memory

2024-06-18 Thread zhaoxinxin
The rte_vhost_driver_unregister() vhost_user_read_cb() vhost_user_client_reconnect() can be called at the same time by 3 threads. when memory of vsocket is freed in rte_vhost_driver_unregister(), then vhost_user_read_cb() maybe add vsocket to reconn_list, the invalid memory of vsocket is accessed

[PATCH] vhost: Fix the crash caused by accessing the released memory

2024-06-17 Thread zhaoxinxin
The rte_vhost_driver_unregister() 、vhost_user_read_cb()、vhost_user_client_reconnect() can be called at the same time by 3 threads. when memory of vsocket is freed in rte_vhost_driver_unregister(), then vhost_user_read_cb() maybe add vsocket to reconn_list, the invalid memory of vsocket is acces