From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9767CA04C0; Tue, 12 Nov 2019 12:21:33 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B26B627D; Tue, 12 Nov 2019 12:21:32 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 57356271; Tue, 12 Nov 2019 12:21:31 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Nov 2019 03:21:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,296,1569308400"; d="scan'208";a="198044498" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by orsmga008.jf.intel.com with ESMTP; 12 Nov 2019 03:21:28 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.131]) by IRSMSX104.ger.corp.intel.com ([169.254.5.252]) with mapi id 14.03.0439.000; Tue, 12 Nov 2019 11:20:40 +0000 From: "Iremonger, Bernard" To: Matan Azrad , "dev@dpdk.org" CC: Gaetan Rivet , "thomas@monjalon.net" , "stable@dpdk.org" Thread-Topic: [PATCH 2/2] app/testpmd: fix invalid port detaching Thread-Index: AQHVmTXjYCHHOrdAp0CWKrsU+sDUmqeHY7jg Date: Tue, 12 Nov 2019 11:20:40 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260E24B17@IRSMSX108.ger.corp.intel.com> References: <1573548459-6931-1-git-send-email-matan@mellanox.com> <1573548459-6931-2-git-send-email-matan@mellanox.com> In-Reply-To: <1573548459-6931-2-git-send-email-matan@mellanox.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjM2MjQ5YjItNTEwZi00ZTJlLTlhM2MtNDU1MWZkYzJlMDhlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNk1Dbkc1NVFcLzUxbk1FSXdlVWxtczhsK1BybzZXT3ZwdUxETTZjd2NOK09nNXN4U092b21RZHlCWk1IUTlCV2EifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 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 2/2] app/testpmd: fix invalid port detaching 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Matan Azrad > Sent: Tuesday, November 12, 2019 8:48 AM > To: dev@dpdk.org > Cc: Gaetan Rivet ; Iremonger, Bernard > ; thomas@monjalon.net; stable@dpdk.org > Subject: [PATCH 2/2] app/testpmd: fix invalid port detaching >=20 > The port was not validated before detaching. >=20 > Ignore port detach operation when the port is not valid. >=20 > Fixes: f8e5baa2662d ("app/testpmd: check not detaching device twice") > Cc: thomas@monjalon.net > Cc: stable@dpdk.org >=20 > Signed-off-by: Matan Azrad Acked-by: Bernard Iremonger