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 580FBA04C4; Wed, 20 Nov 2019 23:52:55 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2E88E2B87; Wed, 20 Nov 2019 23:52:55 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id 50CF327D for ; Wed, 20 Nov 2019 23:52:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574290373; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1TleBi/5zJwTu3t1zEO6D/TCOCrMFLDhKn2sSGRktP0=; b=OZ15DVw45WQB8g4eVUN6sgbOQpGrmfDCncrY6r94jMv3QCwXr1U9ol6wMffjzQbk6HQR4b QeQRLdEws7AvlQixvb46CYoqt+uyLnLnn/9CqMTZ4iIKuBe1c9+yWGWZ5Mm7meqmbEVovf osAp5HoejcTCkpr+Sv1DRDlcKtNIdpM= Received: from mail-ua1-f72.google.com (mail-ua1-f72.google.com [209.85.222.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-10-4TnRaTnlNXiZEV338BUObg-1; Wed, 20 Nov 2019 17:52:52 -0500 Received: by mail-ua1-f72.google.com with SMTP id i7so340087uak.7 for ; Wed, 20 Nov 2019 14:52:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1TleBi/5zJwTu3t1zEO6D/TCOCrMFLDhKn2sSGRktP0=; b=dceuwshw6Ro95CGnDmJY+UaLCBJSViPi+k9UqSxDg1JnBeqVRI8KXvuTK0z5ilufFt wYjHDkZSzVL92V69sR/B71ZNBr/BlIhmnxu9Rhr6l6V8jaer4CfLWZvzCCxyhqvIkLJz duCRg33HJd5deP+yt8Gx+k04Kmyq3JD34SVe2GUExpvwKR/FWeEa3uHso+B9vpF/YgNB 0pSnzDbaVMR2staD56kXz49Tq8HWhHlc1lSoNHojJGALw7KGqUwOVcaGEkdnwcLlb99H i0Kf0NW1wOZc0rlmoSqBOE2OLV8HeCv0FGgGY/2ukMBIEcJTPb8X/hlwuPqjytfwMWMi 7mNw== X-Gm-Message-State: APjAAAXvOadvXHgm0MOJHnCzyJcYNse5qqgRC/87DKkcLWKQ9ycIavU6 zvYweLsHMXIiKOPZMhC5YyXZ+QoM3+qRaHYLo2g/iWw8arthfOfGffUlJETol6FtQZgG1CACDjQ /J3dPQJcyKezjyF9Grbw= X-Received: by 2002:a67:7d95:: with SMTP id y143mr3615318vsc.39.1574290372241; Wed, 20 Nov 2019 14:52:52 -0800 (PST) X-Google-Smtp-Source: APXvYqzrvQeEtkpVI5lxthESN4qwwyGBdGwS38hKPbimR/9vivUBJjza+9ro2nU+7X+k3eFXjoZZkWFch+mOHQTvHaU= X-Received: by 2002:a67:7d95:: with SMTP id y143mr3615307vsc.39.1574290372012; Wed, 20 Nov 2019 14:52:52 -0800 (PST) MIME-Version: 1.0 References: <1573548459-6931-1-git-send-email-matan@mellanox.com> <1573548459-6931-2-git-send-email-matan@mellanox.com> <8CEF83825BEC744B83065625E567D7C260E24B17@IRSMSX108.ger.corp.intel.com> In-Reply-To: <8CEF83825BEC744B83065625E567D7C260E24B17@IRSMSX108.ger.corp.intel.com> From: David Marchand Date: Wed, 20 Nov 2019 23:52:40 +0100 Message-ID: To: Matan Azrad Cc: "dev@dpdk.org" , Gaetan Rivet , "thomas@monjalon.net" , "stable@dpdk.org" , "Iremonger, Bernard" X-MC-Unique: 4TnRaTnlNXiZEV338BUObg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [dpdk-stable] [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" On Tue, Nov 12, 2019 at 12:21 PM Iremonger, Bernard wrote: > > > -----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 > > > > The port was not validated before detaching. > > > > Ignore port detach operation when the port is not valid. > > > > Fixes: f8e5baa2662d ("app/testpmd: check not detaching device twice") > > Cc: stable@dpdk.org > > > > Signed-off-by: Matan Azrad > > Acked-by: Bernard Iremonger > Applied, thanks. -- David Marchand