From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 055FD9E3; Fri, 28 Apr 2017 04:02:05 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Apr 2017 19:02:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,386,1488873600"; d="scan'208";a="1141116818" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 27 Apr 2017 19:02:03 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 27 Apr 2017 19:02:03 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.117]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.193]) with mapi id 14.03.0319.002; Fri, 28 Apr 2017 10:02:01 +0800 From: "Tan, Jianfeng" To: "Hu, Jiayu" , "dev@dpdk.org" CC: "Wu, Jingjing" , "stable@dpdk.org" Thread-Topic: [PATCH v2] app/testpmd: fix exit without freeing resources Thread-Index: AQHSv79Dt6yJ5tlBcU+B5AbyIB/Fi6HaBrRw Date: Fri, 28 Apr 2017 02:02:00 +0000 Message-ID: References: <1493256770-15331-1-git-send-email-jiayu.hu@intel.com> <1493343170-110462-1-git-send-email-jiayu.hu@intel.com> In-Reply-To: <1493343170-110462-1-git-send-email-jiayu.hu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH v2] app/testpmd: fix exit without freeing resources X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2017 02:02:06 -0000 > -----Original Message----- > From: Hu, Jiayu > Sent: Friday, April 28, 2017 9:33 AM > To: dev@dpdk.org > Cc: Wu, Jingjing; stable@dpdk.org; Tan, Jianfeng; Hu, Jiayu > Subject: [PATCH v2] app/testpmd: fix exit without freeing resources >=20 > 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. >=20 > Fixes:af75078fece3 ("first public release") > Cc: stable@dpdk.org >=20 > Signed-off-by: Jiayu Hu Reviewed-by: Jianfeng Tan Thanks, Jianfeng