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 24445A0C47 for ; Mon, 26 Jul 2021 15:55:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1B565410EC; Mon, 26 Jul 2021 15:55:55 +0200 (CEST) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mails.dpdk.org (Postfix) with ESMTP id 4E013410E1 for ; Mon, 26 Jul 2021 15:55:53 +0200 (CEST) Received: by mail-wm1-f43.google.com with SMTP id b128so5389443wmb.4 for ; Mon, 26 Jul 2021 06:55:53 -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 :mime-version:content-transfer-encoding; bh=+aV8U41glVWTsc99RpxE1VmB/7lVwUpfFZNTvHQtFWA=; b=ejajzjVaE2A6MNMGavLYCzTCJ94LQdZjn9Glj336b7ozggxMcylfWqCNLxYMFlBSIH i1lexqGHdZsIgtQhiBLKrElkJ1hcyOvtYdnNb3lYF5kx/E46ESF7kiiPfYynEJk7DQq8 37bAgt5iLOek8y8i2mfCd0eXO3wosdB5jMZrDxpvVsaHpAVn081jjd6zhRlGpn3Jf53K SS/y1rWHpgg2a6wjMopALr9DxlerxAyh9Agjy/m6K06ztQS988S3stfr9l2ND0MjcTSR 1et31Tp1UcJkvTc2Tnao1znz0oI1/XpsN1u3wKJsG96OkMqvhZl9ZHwoR8K20UiRAJfk blxQ== 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=+aV8U41glVWTsc99RpxE1VmB/7lVwUpfFZNTvHQtFWA=; b=F8EevenJ7I3NeyhEvTXBGKm4NBc0E95mbWJ9foLyy0SUHcZqflNJ6HFkB3RUejZIV9 HtcJnfBdk+LITm/x5HnKigqJxw7TB5D7YorzS4jWHHAwJNLJh5CVA+eYBquFg5Ve504c CBOhGv7eQSdFf2XcSeuDi8UFcASjDrFyNJBBBlYmynFuqgW6ioQHBYftehUvpp0ITcIr jhbWl6utMSSFeUmHva9Ir22a5O5Yp/MhhWqRg7stQurcnx8QTK0b4kOmrC4ZqmixmVxq ONAHu/Sry7RY/8d/492SppAeLD215pGT+4ThArxLtwsQ8bvJkbHMkPk6rhd7hXLGw1nq 777Q== X-Gm-Message-State: AOAM533cxTB81i2IkvRHQIwBglChcmkirLbYcSy3MSNZKxxaHAft2/Rp MAaB05sUi2gUf2M0NeP/mM4= X-Google-Smtp-Source: ABdhPJx3KeD5Br9EebXQ9R5swvQGiXa//BkYROQsyM/Lj0+UeGKxSXDsAW+GUusBCaXO7PnLroSj1w== X-Received: by 2002:a7b:c409:: with SMTP id k9mr1495873wmi.117.1627307753124; Mon, 26 Jul 2021 06:55:53 -0700 (PDT) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id k9sm2294017wrc.6.2021.07.26.06.55.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 06:55:52 -0700 (PDT) From: luca.boccassi@gmail.com To: Hemant Agrawal Cc: dpdk stable Date: Mon, 26 Jul 2021 14:53:12 +0100 Message-Id: <20210726135322.149850-49-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210726135322.149850-1-luca.boccassi@gmail.com> References: <20210712130551.2462159-1-luca.boccassi@gmail.com> <20210726135322.149850-1-luca.boccassi@gmail.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 20.11.3 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 20.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/28/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/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/b2ac79d89a405d64e4dd1f9839968b2364eadf09 Thanks. Luca Boccassi --- >From b2ac79d89a405d64e4dd1f9839968b2364eadf09 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 39102bc1f3..997c94f087 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.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-07-26 13:53:18.689725536 +0100 +++ 0049-bus-dpaa-fix-freeing-in-FMAN-interface-destructor.patch 2021-07-26 13:53:15.949294725 +0100 @@ -1 +1 @@ -From 5ddcf3de6bc08fa7c14fd1ead86012aa575cf665 Mon Sep 17 00:00:00 2001 +From b2ac79d89a405d64e4dd1f9839968b2364eadf09 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 39102bc1f3..997c94f087 100644