From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f52.google.com (mail-pg0-f52.google.com [74.125.83.52]) by dpdk.org (Postfix) with ESMTP id DE79D7D8E for ; Mon, 21 Aug 2017 11:34:30 +0200 (CEST) Received: by mail-pg0-f52.google.com with SMTP id y129so96832000pgy.4 for ; Mon, 21 Aug 2017 02:34:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2v/Jck/Wr3Ij2fpHCO7gh541OF8RD5Krrr+b1ufK8MM=; b=MArfvxXmqn26JbKWL4n3rttrKhIOLJLx/oc6C4+WWgj0yPn9pxapzD1xy98oAqbQlj 5AEFyVHHxMBzep/67aaQqrS6O3zHkSdo+g7aG35WemupFYU8zoIxBQYzYleLDS0nfeBT CpYW2I2MAYlntDRSfSYgsnEJam/+yk58uwI8jEXoe60pKLwt+FleU5Yx+N5SUs5mAm1c lc/4tNCF3O5a0hLcSNKqbbTZ1MhuvkbWkGy8aFqg6bweNQ0bVi4cRF6uNGdArdsqk+TT sCXg1oXn6iLTRPrPIckP+gRXBmZRwRgCZrerviU0B32y0eUAvwachv9QW2feGcKfZ3LL 6g1Q== 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=2v/Jck/Wr3Ij2fpHCO7gh541OF8RD5Krrr+b1ufK8MM=; b=sqIpurBSGVuSzrLfc0/4z+eWsvh3xHDHCUWJd6XYwIC1a/XMFsiPWcfl2xmNBBJBrI d5H25d/Tx7UcFhS3e4+J9p0+lHFzdXy1u0XJlQDK0uJNm07LhCA/+Iid19eGL2vtrBWX Xd2KJmMbGROLax/Zijx+I6GLEay156krUX+mvwiO76ZGEJsMj28wLluMzhHcPov96gXr Khi00cgmZBKthPDwSKPl0VKO0ZENUM7J50NtJ0nirc8w3Lk1L5r304bCDKkdKaWwuAYb SoB6ic4zfN8iRn+wSxCNDOOue+UaI5RpmGwXsQQct+VUK8VMFJ39mIupestwe5Qd1IBY TamQ== X-Gm-Message-State: AHYfb5hbBE2JTSxjUkAzyWmwvFj02Hs/ouKOwXd1kmIRs5zdFIt3LEHo hkR7rIYr+TgHtrZf7m5V1A== X-Received: by 10.98.218.65 with SMTP id w1mr6910062pfl.127.1503308070242; Mon, 21 Aug 2017 02:34:30 -0700 (PDT) Received: from localhost.localdomain ([45.63.61.64]) by smtp.gmail.com with ESMTPSA id 69sm23355087pfh.186.2017.08.21.02.34.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Aug 2017 02:34:29 -0700 (PDT) From: Yuanhan Liu To: Akhil Goyal Cc: dpdk stable , Yuanhan Liu Date: Mon, 21 Aug 2017 17:30:31 +0800 Message-Id: <1503307878-16728-17-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503307878-16728-1-git-send-email-yliu@fridaylinux.org> References: <1503307878-16728-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'crypto/dpaa2_sec: fix free usage for dpsec' has been queued to stable release 17.05.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, 21 Aug 2017 09:34:31 -0000 Hi, FYI, your patch has been queued to stable release 17.05.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 08/24/17. So please shout if anyone has objections. Thanks. --yliu --- >>From fe0ce9f7ac2f4acdbeb6251b31c4f3f6971f206f Mon Sep 17 00:00:00 2001 From: Akhil Goyal Date: Wed, 12 Jul 2017 18:04:41 +0530 Subject: [PATCH] crypto/dpaa2_sec: fix free usage for dpsec [ upstream commit cfd829387ff8154ec4321f863370371599fc90f1 ] dpseci is allocated using rte_calloc() but it is freed using free(). Fixing it to use rte_free() Fixes: e5cbdfc53765 ("crypto/dpaa2_sec: add basic operations") Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index 4e01fe8..97ee64c 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -1366,7 +1366,7 @@ dpaa2_sec_dev_close(struct rte_cryptodev *dev) /*Free the allocated memory for ethernet private data and dpseci*/ priv->hw = NULL; - free(dpseci); + rte_free(dpseci); return 0; } -- 2.7.4