RE: [PATCH v2] app/testpmd: fix issue with memory leaks when quit testpmd

2022-03-15 Thread Zhang, Yuying
Hi Ke, > -Original Message- > From: Zhang, Ke1X > Sent: Monday, March 14, 2022 1:53 PM > To: Li, Xiaoyun ; Singh, Aman Deep > ; Zhang, Yuying ; > dev@dpdk.org > Cc: Zhang, Ke1X > Subject: [PATCH v2] app/testpmd: fix issue with memory leaks when quit > testpmd

RE: [PATCH v2] app/testpmd: fix issue with memory leaks when quit testpmd

2022-03-15 Thread Zhang, Yuying
Hi Ke, -Original Message- From: Zhang, Ke1X Sent: 2022年3月14日 13:47 To: Li, Xiaoyun ; Singh, Aman Deep ; Zhang, Yuying ; dev@dpdk.org Cc: Zhang, Ke1X Subject: [PATCH v2] app/testpmd: fix issue with memory leaks when quit testpmd when dpdk is compiled in ASan, there is a memory leaks

Re: [PATCH v2] app/testpmd: fix issue with memory leaks when quit testpmd

2022-03-14 Thread David Marchand
On Mon, Mar 14, 2022 at 6:59 AM Ke Zhang wrote: > > when dpdk is compiled in ASan, there is a memory leaks after > quit testpmd if set mcast_addr, this patch fix this issue. The memory leak is present regardless of ASan being compiled in. Plus, afaiu, the issue happens too when closing a port. I

[PATCH v2] app/testpmd: fix issue with memory leaks when quit testpmd

2022-03-13 Thread Ke Zhang
when dpdk is compiled in ASan, there is a memory leaks after quit testpmd if set mcast_addr, this patch fix this issue. Error info as following: ERROR: LeakSanitizer: detected memory leaksDirect leak of 192 byte(s) 0 0x7f6a2e0aeffe in __interceptor_realloc (/lib/x86_64-linux-gnu/lib

[PATCH v2] app/testpmd: fix issue with memory leaks when quit testpmd

2022-03-13 Thread Ke Zhang
when dpdk is compiled in ASan, there is a memory leaks after quit testpmd if set mcast_addr, this patch fix this issue. Error info as following: ERROR: LeakSanitizer: detected memory leaksDirect leak of 192 byte(s) 0 0x7f6a2e0aeffe in __interceptor_realloc (/lib/x86_64-linux-gnu/lib

[PATCH v2] app/testpmd: fix issue with memory leaks when quit testpmd

2022-03-13 Thread Ke Zhang
when dpdk is compiled in ASan, there is a memory leaks after quit testpmd if set mcast_addr, this patch fix this issue. Error info as following: ERROR: LeakSanitizer: detected memory leaksDirect leak of 192 byte(s) 0 0x7f6a2e0aeffe in __interceptor_realloc (/lib/x86_64-linux-gnu/lib

[PATCH v2] app/testpmd: fix issue with memory leaks when quit testpmd

2022-03-13 Thread Ke Zhang
when dpdk is compiled in ASan, there is a memory leaks after quit testpmd if set mcast_addr, this patch fix this issue. Error info as following: ERROR: LeakSanitizer: detected memory leaksDirect leak of 192 byte(s) 0 0x7f6a2e0aeffe in __interceptor_realloc (/lib/x86_64-linux-gnu/lib