From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 344821DBA for ; Mon, 30 Apr 2018 16:07:58 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id i3so14398774wmf.3 for ; Mon, 30 Apr 2018 07:07:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FgXYfWkHv+ZSoSX5q/hCnyzFKLDDQ2duylCd8eB+mdE=; b=TyFhZ6gcs8EIkU8bpDKNNrIJQgAizy+Z+JWZ3CvLi6MydrRsYIMPkz/7fnXtcdt7g+ Y0BxCurBkq9W/Y0BuHxvOUepW//wlteAS6TfxslOLhlAj3sUd6ZIqPCoaCV7RpwWUjEe nkXvARYUfxJl16HLqneeLP/ptTsgaelVZmGCHpi0ok55r9MhKYSERrH+KttNOiwZDIWd Jo36P5z/M5cQzhArvW/+Jlbsmax9cUcpePNw+Wcb0PtPZldSU7ilJFFjcxezebuOwLLA 3SGK2nCLdl8kPmwESEQe67bnAV0gAcfiX8fan3MKR5bHXAu3y9++aQWaT9xezAa2i+Ik E5lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FgXYfWkHv+ZSoSX5q/hCnyzFKLDDQ2duylCd8eB+mdE=; b=gG7a4C/Vi9soVHp/XtjYqGoajswqH1ldALV5Fcs2MPoWHfMXUfhFjB8pzCcyLnUh7w K/bLPhabgVHfGGHpXM065oN1bD9GNDQ3l7AXwnj09mZ8/Kgv7o4ssyv/Y5YbWAtA5kEh q0vWY+7p1Tqwqmm9Jcbrn8Iw/0PRUSkmajV9h5RrphIbpVCv+tLKV7L+u7F9o6JdyTuX 8+AsunV/WtT+GvLNQlvFZRDQaTh8E3OLDIi0wiHs2i+JLgbq0Uv4IN2cU5jjS/9ZnYYn 3tJsBRF4WJRBc0Sz4wOJN3TECw1fnxUxj67bqbylDiA9QR8fN7iqdJtn16gvOjJ/9W1S ve4A== X-Gm-Message-State: ALQs6tDu2qdezTrFbghHOMHfLmxrwW865XlDAFykmKoMQF2ORMtqLY8v eX2DCGz8c2OAYwsmFUkOvMQ= X-Google-Smtp-Source: AB8JxZpePBfjP3LoBB7CPUsr5eyEuYWmkPbTjhn4vRE5nfFb39RWEC5EcRcoWcGKnzGEt/0vD82WSg== X-Received: by 10.28.24.11 with SMTP id 11mr8133640wmy.21.1525097277941; Mon, 30 Apr 2018 07:07:57 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id v5sm7172440wmh.19.2018.04.30.07.07.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:07:57 -0700 (PDT) From: luca.boccassi@gmail.com To: Natalie Samsonov Cc: Tomasz Duszynski , dpdk stable Date: Mon, 30 Apr 2018 15:03:37 +0100 Message-Id: <20180430140606.4615-59-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430140606.4615-1-luca.boccassi@gmail.com> References: <20180430140606.4615-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/mrvl: fix crash when port is closed without starting' has been queued to stable release 18.02.2 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: Mon, 30 Apr 2018 14:07:58 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 3bbbc93d041391cef7876563ae46c24ae6357224 Mon Sep 17 00:00:00 2001 From: Natalie Samsonov Date: Thu, 15 Mar 2018 08:51:57 +0100 Subject: [PATCH] net/mrvl: fix crash when port is closed without starting [ upstream commit b4d0fff30807adaac6722689eaa72b4460632d80 ] Fixes: 0ddc9b815b11 ("net/mrvl: add net PMD skeleton") Signed-off-by: Natalie Samsonov Signed-off-by: Tomasz Duszynski --- drivers/net/mrvl/mrvl_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/mrvl/mrvl_ethdev.c b/drivers/net/mrvl/mrvl_ethdev.c index 705c4bd8b..3611a9290 100644 --- a/drivers/net/mrvl/mrvl_ethdev.c +++ b/drivers/net/mrvl/mrvl_ethdev.c @@ -686,7 +686,8 @@ mrvl_dev_stop(struct rte_eth_dev *dev) pp2_cls_qos_tbl_deinit(priv->qos_tbl); priv->qos_tbl = NULL; } - pp2_ppio_deinit(priv->ppio); + if (priv->ppio) + pp2_ppio_deinit(priv->ppio); priv->ppio = NULL; } -- 2.14.2