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 52DA8A04C4 for ; Wed, 20 Nov 2019 23:52:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 10C442BA3; Wed, 20 Nov 2019 23:52:57 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id C7E3F27D 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=1574290374; 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=hSdpbk3UAEUlYV3SGIW9Ww+bLkbHiiJP8bSqsIwgzjQidTc801KtQtJHKxrMp8tWBwVwID jLfNcNrh/815/eKWKH1ywhUBr2UcTQAAxakdJBmGz2HzC5eB5wIop+dSH4DZXM99iGH/// rTvuThPyxMpIqjqd5Nauj2vvGfGBLgc= Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-348-XYzrEqQCPNW9cEunwtz_bw-1; Wed, 20 Nov 2019 17:52:52 -0500 Received: by mail-vk1-f198.google.com with SMTP id n6so508491vke.22 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=G20ko6l9sXu3vJUkZQRfaDQz6q1GBxPyIf8LqE056pcNL7kZvGJDBRRpU8e0JG4XR0 iooK9jKTWpfSx5YKNbhjiq1BgnQb5pcq90hXudBZSzX4jzM6QgFmdG6k1XH+g4YyVU9i cBTwvZy7F6cObH+9bgSWFVNjl/0U2P44n/u7KiXzybhgVvx7VY6H2wa+ExP/EbbKPRH+ 8UnWxD5GBBABVFJBaJWYaQxuwx/2jrb5PCZ9/IrSCBThq/r4o243fNhqaffsIAJl8WMu c9GiVi8SaRL2T/0l/JY72PC6S6nY7k5ioO4uVqb3FCCqR9uWqF6hMLWJkMLdKGZkQn0A RXBw== X-Gm-Message-State: APjAAAVccncjQ1F7lqfq8PD2mKx3RCUl8aMijMjEwne6JkZdMCjB6zTD RnG6LQ5JFx1W+3hnt1500iJIVyfOyXAPoiWECXmRr3BmxyXSYpAr3emUcfKzGLaEF4JHo913soK m/roNgXtl0Eusknzfgo4fGNU= X-Received: by 2002:a67:7d95:: with SMTP id y143mr3615316vsc.39.1574290372240; 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: XYzrEqQCPNW9cEunwtz_bw-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-stable] [PATCH 2/2] app/testpmd: fix invalid port detaching 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: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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