Re: [dpdk-dev] [PATCH] net/virtio: fix memory leak in dev close

2021-07-26 Thread 刘高翔
>Hi, chen bo >>And I think the fix commit id is not correct. Fix commit id should be the >>first commit that introduces the bug. I think it's: >>3d4fb6fd2505 ("net/virtio-user: support Rx interrupt") > Yes, it should be the commit id. And I will fix other issues right now. > Thanks. At 2021-0

Re: [dpdk-dev] [PATCH] net/virtio: fix memory leak in dev close

2021-07-26 Thread Xia, Chenbo
Hi Gaoxiang, > -Original Message- > From: Gaoxiang Liu > Sent: Sunday, July 25, 2021 10:03 AM > To: Maxime Coquelin ; Xia, Chenbo > > Cc: dev@dpdk.org; liugaoxi...@huawei.com; Gaoxiang Liu > Subject: [PATCH] net/virtio: fix memory leak in dev close I suggest the title: fix memory leak

[dpdk-dev] [PATCH] net/virtio: fix memory leak in dev close

2021-07-24 Thread Gaoxiang Liu
Free the "intr_handle" memory in virtio_user_dev_uninit() to avoid memory leak. when virtio user dev closes, the "intr_handle" memory is not freeed that is alloced in virtio_user_fill_intr_handle(). Fixes: 7f468b2ebfad ("net/virtio: release port upon close") Signed-off-by: Gaoxiang Liu --- driv