RE: [PATCH] net/iavf: fix core dump when exiting testpmd

2023-10-31 Thread Zhang, Qi Z
> -Original Message- > From: Kaiwen Deng > Sent: Thursday, October 26, 2023 4:55 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhou, YidingX > ; Deng, KaiwenX ; Wu, > Jingjing ; Xing, Beilei ; Lu, > Wenzhuo ; Richardson, Bruce > > Subject: [PATCH] net/ia

[PATCH] net/iavf: fix core dump when exiting testpmd

2023-10-26 Thread Kaiwen Deng
release null mbuf results coredump. This commit adding mbuf check before releasing. Fixes: 12016895fcf3 ("net/iavf: fix buffer leak on Tx queue stop") Signed-off-by: Kaiwen Deng --- drivers/net/iavf/iavf_rxtx_vec_common.h | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git