From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 77C45E5D for ; Mon, 30 Apr 2018 16:44:16 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id x12so11665710wmc.0 for ; Mon, 30 Apr 2018 07:44:16 -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=yjFyEtmwoVIjwOQPgA8Kzo73+EhLBe73XXUQERtRDYU=; b=Dwul2sJ6KPazhe5DLymX1ckqp/tXGskETmgbh1M4bQbOZiiAxb6ZNQePSDODB6oFCm Es5kQGV8tnS2o1i4kwJTQ0WdQ4ZJE1fpoTF3hzQZfyTWCt3lPoLFHwlh7/VlUhfQac1l B8lVu/1bHgLMWzpjNit2rmw2gKLvNWc8NcUBWpAg1uH9Q5zqzwpL9tuFimzmkMtBAceG GfKKQKCe+HYsgl/NTRF7AAvdsjKvwVSQ4nJLPvfqZipAOaDRmxGKo+YmG6IK3wqm+1FF OPQj4eyCI/YScsHSazPs07ADDDieqoCAIYWTAR28UOUKepfJbQWUSRF0TknA+t1VqKSU +uOw== 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=yjFyEtmwoVIjwOQPgA8Kzo73+EhLBe73XXUQERtRDYU=; b=OZQYm6NpkoTzqKsdVF9wsHr/KMuWFjp8e8Egnib+sDsvkjxcot6O5Kw51usgl8Mo32 sc0Hx/P3GH7nAjgRxjzms/pHzqI6FhiF8DJRISivsGUox0ddr8ZyflfM2Jl8rXYe3lmH gd/7uh5P7SiMbBvShp3rY+/EKWHGdK9rBnB9TuK+ylPLvrDYm11SCm4bDsTEfiKCdWl7 SrbGdU14zmbSJxYmUwewmzoRJ2k3N5kBakJDqHSiFsb78V5I6TiJAundsICeoPdAyItP hRxsbl10CfcBLNNqOGIe+hiPq5hc88kW4Qp6aTR4P7Chtu9m6JQWBiu94vNkC/2Ae9r3 3wpg== X-Gm-Message-State: ALQs6tA7J5P1z6WK8Bu7HLoOzCkBXaEfP3jbtkSy8l4bhd4P85VW5KVN tZxnQ4TOxzKemwXSHFxMsIemXEJiLuk= X-Google-Smtp-Source: AB8JxZreXxIn5qLI/a8YCIuIfjvbJ8IHEmMG1hyiI9c0xmzyUpSTBpvN9cG5Rke/tgHQVFmL0Ve35Q== X-Received: by 10.28.15.195 with SMTP id 186mr8248424wmp.113.1525099456031; Mon, 30 Apr 2018 07:44:16 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id p35-v6sm10389949wrb.12.2018.04.30.07.44.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:44:15 -0700 (PDT) From: luca.boccassi@gmail.com To: Shreyansh Jain Cc: dpdk stable , akhil.goyal@nxp.com Date: Mon, 30 Apr 2018 15:41:24 +0100 Message-Id: <20180430144223.18657-69-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430144223.18657-1-luca.boccassi@gmail.com> References: <20180430140606.4615-80-luca.boccassi@gmail.com> <20180430144223.18657-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'crypto/dpaa_sec: fix null check in uninit' 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:44:16 -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 e69ac0e7ae435790233aaa26712bf6872fa25449 Mon Sep 17 00:00:00 2001 From: Shreyansh Jain Date: Mon, 2 Apr 2018 21:03:19 +0530 Subject: [PATCH] crypto/dpaa_sec: fix null check in uninit [ upstream commit debef417a0e3609485473e135c5f2fbc541cfc4b ] Fixes: c3e85bdcc6e6 ("crypto/dpaa_sec: add crypto driver for NXP DPAA platform") Cc: akhil.goyal@nxp.com Signed-off-by: Shreyansh Jain --- drivers/crypto/dpaa_sec/dpaa_sec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c index 9cf36b063..c9bdd5640 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.c +++ b/drivers/crypto/dpaa_sec/dpaa_sec.c @@ -2252,11 +2252,12 @@ struct rte_security_ops dpaa_sec_security_ops = { static int dpaa_sec_uninit(struct rte_cryptodev *dev) { - struct dpaa_sec_dev_private *internals = dev->data->dev_private; + struct dpaa_sec_dev_private *internals; if (dev == NULL) return -ENODEV; + internals = dev->data->dev_private; rte_free(dev->security_ctx); rte_mempool_free(internals->ctx_pool); -- 2.14.2