On 9/2/21 5:45 PM, Gaoxiang Liu wrote:
> The rte_vhost_driver_unregister() and vhost_user_read_cb()
> can be called at the same time by 2 threads.
> when memory of vsocket is freed in rte_vhost_driver_unregister(),
> the invalid memory of vsocket is accessed in vhost_user_read_cb().
> It's a bug
> -Original Message-
> From: Gaoxiang Liu
> Sent: Thursday, September 2, 2021 11:46 PM
> To: maxime.coque...@redhat.com; Xia, Chenbo
> Cc: dev@dpdk.org; liugaoxi...@huawei.com; Gaoxiang Liu
> Subject: [PATCH v7] vhost: fix crash on port deletion
>
> The rte_vhost_driver_unregister() and
Hi,
> -Original Message-
> From: Gaoxiang Liu
> Sent: Thursday, September 2, 2021 11:46 PM
> To: maxime.coque...@redhat.com; Xia, Chenbo
> Cc: dev@dpdk.org; liugaoxi...@huawei.com; Gaoxiang Liu
> Subject: [PATCH v7] vhost: fix crash on port deletion
>
> The rte_vhost_driver_unregister(
The rte_vhost_driver_unregister() and vhost_user_read_cb()
can be called at the same time by 2 threads.
when memory of vsocket is freed in rte_vhost_driver_unregister(),
the invalid memory of vsocket is accessed in vhost_user_read_cb().
It's a bug of both mode for vhost as server or client.
E.g.,
4 matches
Mail list logo