Re: [dpdk-dev] [PATCH v2] app/testpmd: fix exit without freeing resources

2017-04-27 Thread Tan, Jianfeng
> -Original Message- > From: Hu, Jiayu > Sent: Friday, April 28, 2017 9:33 AM > To: dev@dpdk.org > Cc: Wu, Jingjing; sta...@dpdk.org; Tan, Jianfeng; Hu, Jiayu > Subject: [PATCH v2] app/testpmd: fix exit without freeing resources > > When testpmd exists, it frees the acquired resources (e

[dpdk-dev] [PATCH v2] app/testpmd: fix exit without freeing resources

2017-04-27 Thread Jiayu Hu
When testpmd exists, it frees the acquired resources (e.g. stop ports). However, when we terminate it by Ctrl-d, testpmd exists directly without releasing the resources. In this patch, we fix this exit issue. Fixes:af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Jiayu Hu