From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 18EC642B92 for ; Wed, 24 May 2023 23:16:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1387442B7E; Wed, 24 May 2023 23:16:20 +0200 (CEST) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mails.dpdk.org (Postfix) with ESMTP id 0915B40156; Wed, 24 May 2023 23:16:18 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id B0FF73200B2A; Wed, 24 May 2023 17:16:16 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 24 May 2023 17:16:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1684962976; x=1685049376; bh=CbrJS5KsNT/FIilebwqncg9m0l2ua9V0XlM ubVYhhbI=; b=GarSInAhRMHfQhZdVxxZ6c0vKAEpRc+DIY00SY+jUBf0P6PO0hl SvzIpsQCN/VBG172ENBxY/dLrmWk+oxWd00lEEbjjscQYid15ZdZVIqyWE3TKo3q 7GFVaPgnMpRwBUKQV0tGXf0k5InCq4Fwh/DS8ZXouLCQufX16cx+1cA/km1Yib52 lZzLiFbFsOFu0uVyrvjtkL/RESzfX9MvMsVRVqlksmY9DqJUXNUE+uX17D9I6RMO Q5W8kUI2KmWu5KzaMTEOW33l4XIegTV5vFqlhG79zwE/0iNL8JPaQOvp5IbF3O9e u/d7jahqbMF5PhPJTi4GEfymb4n/AQ9LOyw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1684962976; x=1685049376; bh=CbrJS5KsNT/FIilebwqncg9m0l2ua9V0XlM ubVYhhbI=; b=fF0lnGVYWuF3Iq758jddMsPKyfEmauFZDlsjbvJvyLduSEP0T5/ VQJBnDIYo+gsXIKE9hDp4vX2Sa/QsGYykGNMjdIl2rAsutlj0yBnLhrp07j8rRO2 TV+x74JfDuvY+l8RruufBwgKHRtMw7Ez23op7h33cTJEFOgYZ4yggGQsE6C+u1Is xm3+Gg7qh6nfcgOX5AlJpMaTRcK1GlyexHYAS8lJEWJyArH0Wc07USlRMub6++RS k1DKVbLyOZTnv9u88nOq0/3fkQHUtqFHJfN/JQupKczgfOBaNTseoOjFTj94PuuT GXZ/63gFwusB8LzL6d8lxrWkIAlFXRkVDAA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeejhedgudehjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhho mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne cuggftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddt ieekgfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 24 May 2023 17:16:15 -0400 (EDT) From: Thomas Monjalon To: Kamalakannan R Cc: dev@dpdk.org, harshad.suresh.narayane@intel.com, stable@dpdk.org, Cristian Dumitrescu Subject: Re: [PATCH v3] pipeline: fix double free error for table stats Date: Wed, 24 May 2023 23:16:13 +0200 Message-ID: <2907693.2VHbPRQshP@thomas> In-Reply-To: <20230417112243.727023-1-kamalakannan.r@intel.com> References: <20230417112243.727023-1-kamalakannan.r@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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 17/04/2023 13:22, Kamalakannan R: > The pointer to the table statistics data structure needs to be set > to NULL after free inside the table_build_free(), as this function is > called from multiple places, leading to double memory free error. > > Similar fix for the learner_build_free() function. > > Fixes: 742b0a57f50 ("pipeline: add table statistics to SWX") > Fixes: 4f59d372614 ("pipeline: support learner tables") > Cc: stable@dpdk.org > > Signed-off-by: Kamalakannan R > Acked-by: Cristian Dumitrescu Applied, thanks.