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 889CE98; Thu, 23 Aug 2018 13:16:06 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Aug 2018 04:16:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,278,1531810800"; d="scan'208";a="83836697" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga001.fm.intel.com with ESMTP; 23 Aug 2018 04:16:04 -0700 Received: from irsmsx107.ger.corp.intel.com ([169.254.10.116]) by IRSMSX101.ger.corp.intel.com ([169.254.1.40]) with mapi id 14.03.0319.002; Thu, 23 Aug 2018 12:16:03 +0100 From: "Iremonger, Bernard" To: "Archbold, Brian" , "Lu, Wenzhuo" , "Wu, Jingjing" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] app/testpmd: fix duplicate exit Thread-Index: AQHUOiHiIMGS+LYJpUSUTB7j8O0jCaTNMMUQ Date: Thu, 23 Aug 2018 11:16:03 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260CE8314@IRSMSX107.ger.corp.intel.com> References: <20180822060506.7025-1-brian.archbold@intel.com> In-Reply-To: <20180822060506.7025-1-brian.archbold@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2I0M2M1M2EtOGYxYS00ZGJhLWIzZGUtZmUwMjk0ZDgzMDBlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoic0thamNGSm8xTGRtU3BcLzZHcktqZEFrXC9lWFhWRGZNck5RU1NRcUdRNkNOZ015VmRZbWtad0R6eFo1TWlaK2x1In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] app/testpmd: fix duplicate exit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2018 11:16:07 -0000 > -----Original Message----- > From: Archbold, Brian > Sent: Wednesday, August 22, 2018 7:05 AM > To: Lu, Wenzhuo ; Wu, Jingjing > ; Iremonger, Bernard > Cc: dev@dpdk.org; Archbold, Brian ; > stable@dpdk.org > Subject: [PATCH] app/testpmd: fix duplicate exit >=20 > In interactive mode, when the "quit" command is issued, pmd_test_exit() i= s > being called twice, once through the "quit" command and the other after > termination of prompt. >=20 > Remove duplicated exit routine by removing call from "quit" command. >=20 > Steps to reproduce: > - Run testpmd in interactive mode. > - type "quit". >=20 > Fixes: af75078fece3 ("first public release") > Cc: stable@dpdk.org >=20 > Signed-off-by: Brian Archbold Acked-by: Bernard Iremonger