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 989A2A0C47 for ; Tue, 10 Aug 2021 17:44:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 93658411C3; Tue, 10 Aug 2021 17:44:45 +0200 (CEST) Received: from smtp-relay-canonical-1.canonical.com (smtp-relay-canonical-1.canonical.com [185.125.188.121]) by mails.dpdk.org (Postfix) with ESMTP id 90EFC411CA for ; Tue, 10 Aug 2021 17:44:44 +0200 (CEST) Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPS id 5853E40328 for ; Tue, 10 Aug 2021 15:44:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1628610284; bh=bnPxN/yCMWNnoUFWcSUYgo1HmTJ8zdkCGyLTtRyHydc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=RTQI22B01d+s4TnmAn/KWAy141XoSNBbwMt5vWb83Ltvw4m5iVImI33yv3mT51AkQ sp75M8kgbDVcF8wjT6MH62I8sYQjVtdFsN/9RoUrWitSy042I8ftJQtBLcJ0d4fqm7 w3OPeWHhbWcfj7K7vrOR/nNMAbDuK4P7nXtEWotHcUiDayCoS9q8bnEl9Ey/pIds0l BgOqa5nbc279JTCjRRtlGIClE+Kl2FLogGAEsV2878K7IjVNGqGOAkQOOMhVpPDtCK FcaGUn0W8bYMa2vicRd396DqRfh4RRdxFczIMNR7vI/xVpG6Zu51bi6wBe1EfGZGU3 KZx9Yv2ay5FAw== Received: by mail-ej1-f71.google.com with SMTP id a19-20020a1709063e93b0290551ea218ea2so2318703ejj.5 for ; Tue, 10 Aug 2021 08:44:44 -0700 (PDT) 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:mime-version:content-transfer-encoding; bh=bnPxN/yCMWNnoUFWcSUYgo1HmTJ8zdkCGyLTtRyHydc=; b=WOf9PSJtByeBsW2vodvGtDEHhGoSrs4bNT+c3Jq3Q2uuBrO64d6A9c//xE0h2k/Y3Z ff6QtLDMlwEKzNF9zqFAmu3CQNcyp+aN45YpaC61zQx2C4hqo1z55A9pe8y7xefuiYHx ceZ/jhZBbKtnNAsHpyiIQDSXVdeC1WDWB3jhrDtgygi/Coz4p4I2fCg5DRcZNbi2yNK0 CTzZbQ1k12m32MkVRMACJ+Mr3CMzsG73WXGEH51T+vu5scYZhHb7EvDVYJau88dq69Ph wIUhhAF6thU7VxXNKr6TAN0JAA5sMJ2CGg3icQt8r5Zfq5VCNtHk0zhC/kL7elgEKQ3P MzjA== X-Gm-Message-State: AOAM532pyomlecPO+Fuq8Q+ls7IkeZzk9x6Y0rm72gYq/pbg/sEw9eGy h7CfPlaJfRz8Kefs2eUsPJSQoXokeMI6sK+Jhjnip3poPzcVvaqzlwKTcbWqlXXb1drQ0nUHD+V e7uxODTtkZeA38+ZMbiSZkpBi X-Received: by 2002:a05:6402:22aa:: with SMTP id cx10mr5589460edb.59.1628610284098; Tue, 10 Aug 2021 08:44:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOmVitFp1Y8bJ59sX3VnkeiW4B7RzrJwsBduUqVSer9qDnW/N48xu5VjZMtDPTKl6m4Gjv9g== X-Received: by 2002:a05:6402:22aa:: with SMTP id cx10mr5589418edb.59.1628610283573; Tue, 10 Aug 2021 08:44:43 -0700 (PDT) Received: from Keschdeichel.fritz.box ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id a2sm415889edm.72.2021.08.10.08.44.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Aug 2021 08:44:43 -0700 (PDT) From: christian.ehrhardt@canonical.com To: Hemant Agrawal Cc: dpdk stable Date: Tue, 10 Aug 2021 17:40:04 +0200 Message-Id: <20210810154022.749358-84-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210810154022.749358-1-christian.ehrhardt@canonical.com> References: <20210810154022.749358-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'bus/dpaa: fix freeing in FMAN interface destructor' has been queued to stable release 19.11.10 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.10 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/12/21. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/782d2bfc5bd385527a0e558dc132b0899306ca8e Thanks. Christian Ehrhardt --- >From 782d2bfc5bd385527a0e558dc132b0899306ca8e Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Mon, 19 Jul 2021 19:29:11 +0530 Subject: [PATCH] bus/dpaa: fix freeing in FMAN interface destructor [ upstream commit 5ddcf3de6bc08fa7c14fd1ead86012aa575cf665 ] if was allocated with rte_malloc, free shall be equivalent. Fixes: 4762b3d419c3 ("bus/dpaa: delay fman device list to bus probe") Signed-off-by: Hemant Agrawal --- drivers/bus/dpaa/base/fman/fman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/dpaa/base/fman/fman.c b/drivers/bus/dpaa/base/fman/fman.c index 6d77a7e393..4affce433d 100644 --- a/drivers/bus/dpaa/base/fman/fman.c +++ b/drivers/bus/dpaa/base/fman/fman.c @@ -50,7 +50,7 @@ if_destructor(struct __fman_if *__if) free(bp); } cleanup: - free(__if); + rte_free(__if); } static int -- 2.32.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-08-10 15:11:16.255257650 +0200 +++ 0084-bus-dpaa-fix-freeing-in-FMAN-interface-destructor.patch 2021-08-10 15:11:13.098638677 +0200 @@ -1 +1 @@ -From 5ddcf3de6bc08fa7c14fd1ead86012aa575cf665 Mon Sep 17 00:00:00 2001 +From 782d2bfc5bd385527a0e558dc132b0899306ca8e Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 5ddcf3de6bc08fa7c14fd1ead86012aa575cf665 ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org @@ -17 +18 @@ -index 692071b4b0..a14004d7fc 100644 +index 6d77a7e393..4affce433d 100644