From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f43.google.com (mail-pg0-f43.google.com [74.125.83.43]) by dpdk.org (Postfix) with ESMTP id 6122890F8 for ; Mon, 21 Aug 2017 11:35:32 +0200 (CEST) Received: by mail-pg0-f43.google.com with SMTP id t3so68828977pgt.0 for ; Mon, 21 Aug 2017 02:35:32 -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=eAl1MKPMsRdYb4e1ElrBnWUYUzAwYGFgbMXXHjzOGkA=; b=Low+7Gt92LjCNYzR616A71RaellKbM2wfstHaX/4Xt8Ht9oTzr/v8geEXEXInaSjQn cOr1tBXlRH+kZh1yA31jkvn7mSg8sDE8lRzpE9xJnBhxwPu39FxIyr/WxrzlT6iqT53y hwM/JjvDMLoHiRTQSsYsQ/TWxBT8iUbDyAEWB4vx58r90Js2BDfTOf+CJX1htFc3/d5Q J+RYEWx8IIOfGwNH61cs/B8rlehTBIMhijaWVOYiwVm0sa23R/8x/GPtkskEYUgsZfNi rhW+tNiHdJpJXurJBlUk7hpPMcgASEtYR1koIxpou9lOmcEB8U1P0zaXRVVAPB2qHq55 QOVA== 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=eAl1MKPMsRdYb4e1ElrBnWUYUzAwYGFgbMXXHjzOGkA=; b=traoWk9EndEmkzm8mNhKo+s/Z9jPIvrd+sFG/nQeEqtR3M0X4gX1OFNpkfTlUN6G4S fTmeL2tfsHN/6bGAqoNncphdgjspOUMeC7T2CrlT51HTcWxanGldy33mcMD5kckiONKS EZOFgSGRICXSYcOnTOMPOmWuCgkLoC8WbM0wXIIBSCOXgmLSHGP5LJs4f04f772ty3hp gxEwhkehV82GdA8bcckE9zvZx0Op9vFzGlF/IQRPeWswXpMvjbL3iLkoyrOWWRfqJh4f 4PwvpGwFIQvqJwe2BG/RSs1UION3I+H0nRJTvj4yLJYU9KPAmwUUIKfPordcrevmoHo/ yUqQ== X-Gm-Message-State: AHYfb5gQdxu4gfFNA7AsI5gzS+Awg3m/68D7+C0wMEhtCO+s0eMJnrD7 +7KkEcIltj9rwYzH X-Received: by 10.84.210.175 with SMTP id a44mr1419284pli.274.1503308130590; Mon, 21 Aug 2017 02:35:30 -0700 (PDT) Received: from localhost.localdomain ([45.63.61.64]) by smtp.gmail.com with ESMTPSA id 69sm23355087pfh.186.2017.08.21.02.35.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Aug 2017 02:35:29 -0700 (PDT) From: Yuanhan Liu To: Hemant Agrawal Cc: Olivier Matz , Shreyansh Jain , dpdk stable , Yuanhan Liu Date: Mon, 21 Aug 2017 17:30:42 +0800 Message-Id: <1503307878-16728-28-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 'mempool/dpaa2: fix freeing bp list' 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:35:32 -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 e1a1d19c4db47255121ebc7f99e3d2f7d742e3e5 Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Thu, 22 Jun 2017 18:18:08 +0530 Subject: [PATCH] mempool/dpaa2: fix freeing bp list [ upstream commit f31f7288835afc06171ae43164ffb6e43d263f52 ] The dpaa2_bp_list is being allocated using "rte_malloc", but the free is done using "free". Fixing it to use "rte_free". Fixes: 5dc43d22b5ad ("mempool/dpaa2: add hardware offloaded mempool") Signed-off-by: Hemant Agrawal Reviewed-by: Olivier Matz Acked-by: Shreyansh Jain --- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c index 27ed5a9..62a2d25 100644 --- a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c +++ b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c @@ -161,7 +161,7 @@ rte_hw_mbuf_free_pool(struct rte_mempool *mp) while (temp) { if (temp == bp) { prev->next = temp->next; - free(bp); + rte_free(bp); break; } prev = temp; -- 2.7.4