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 A7D1DA0C47 for ; Tue, 10 Aug 2021 17:43:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A1288411C6; Tue, 10 Aug 2021 17:43:29 +0200 (CEST) Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) by mails.dpdk.org (Postfix) with ESMTP id CBB824114F for ; Tue, 10 Aug 2021 17:43:27 +0200 (CEST) Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (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-0.canonical.com (Postfix) with ESMTPS id AFD553F0A1 for ; Tue, 10 Aug 2021 15:43:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1628610207; bh=SRmfu4XZzATnWzuO1ScicMvE+RCDLSLc9tdr1Reeqjg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=fJlVehO280a8DECooNJeZLmJuRyU3qtmSbzzHIGOZ620bs6HMZ2mX7/tgFSYLkLl0 kTzxaQHgNtnAHJx+CNkKD1ps5GhuHcHgdkzS8KxbXAJDU6ftaQqmJBz55q56/47PvX eB7T4dcVf+aBRkJCOHkReIFC0msFVa9R3WRKq2ELOoGnyuMjijGSrD7fAXafL69kHJ PGeq16cb2bAxu1gAUwzJyq1lFE9sH2J6b0ghIXLnwPtu1TTnElEHtwev6slm/LF7sd +UwV+Pm42mSaGo5jNXLLiFMP8Zq+LBOblfksY9b3rV8Nz9MbK4eqxjS4wl3gMmvhvL yZUkuNt98xTAg== Received: by mail-ed1-f69.google.com with SMTP id de5-20020a0564023085b02903bb92fd182eso11039762edb.8 for ; Tue, 10 Aug 2021 08:43:27 -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=SRmfu4XZzATnWzuO1ScicMvE+RCDLSLc9tdr1Reeqjg=; b=s2nOo0RE+mY2ngIloCRwZK/T18N8xdkDXoUH2PZ9lntoWWwuZCtmycV89TyFrOonHc H7tVmXYsEYIXS4RsaM6JIas/Lh6OdsTpWPdb9IcS92+/EleUCD08cqYGZfMWCfyUR4bI 9iTlJ8in+V3hwDbx+1d0t9Z45fgxFXPV9PYoHIenYOvbTkY4qCP+CSzEhQdB488K30qp mRsiMDlk6EIGT6bi+Gliv7u6T1NfKt1+Jij+y10fbRLRjVjOcga6NFZDBylDUtyIT1Z9 Wo/Wbvcj0pHUGQqlfpJSmFLb1+Fxs5Bti2KyL6bV9H+EyZDZPR6UXMEs8KAdCapT7SAf AlnQ== X-Gm-Message-State: AOAM533E/LLDZbsLrgw3TQpRAZ1twcKqBa8PvmVihrCREMSODe+6cu+9 fsixRtVjDN7euMEOL07tIUrBaIwDbNTsUbdbPDp4yGIZxt5sywtA6dENuM4rwIQ4h2M9BJfxWFR GSHocfl5mDK6ucWKe4Nvkbb4I X-Received: by 2002:a17:906:8751:: with SMTP id hj17mr27715385ejb.511.1628610207459; Tue, 10 Aug 2021 08:43:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuMBm/4Wl9x3rZ4fVgcmlsNoHUd95bTxf9To3gc/xQGGsV+8DLcFHtnhz/deXGY0dGULtCbA== X-Received: by 2002:a17:906:8751:: with SMTP id hj17mr27715368ejb.511.1628610207258; Tue, 10 Aug 2021 08:43:27 -0700 (PDT) Received: from Keschdeichel.fritz.box ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id v13sm6996976ejh.62.2021.08.10.08.43.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Aug 2021 08:43:26 -0700 (PDT) From: christian.ehrhardt@canonical.com To: Dapeng Yu Cc: Haiyue Wang , dpdk stable Date: Tue, 10 Aug 2021 17:39:38 +0200 Message-Id: <20210810154022.749358-58-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 'net/ixgbe: fix flow entry access after freeing' 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/f9a4c1efae931cdbd9c6afa01a4bda77ae4e1e34 Thanks. Christian Ehrhardt --- >From f9a4c1efae931cdbd9c6afa01a4bda77ae4e1e34 Mon Sep 17 00:00:00 2001 From: Dapeng Yu Date: Fri, 9 Jul 2021 11:14:59 +0800 Subject: [PATCH] net/ixgbe: fix flow entry access after freeing [ upstream commit 75e4023dd7ad3b37ad2843635b38436d91613c86 ] The original code use a heap pointer after it is freed. This patch fix it. Fixes: a14de8b498d1 ("net/ixgbe: destroy consistent filter") Signed-off-by: Dapeng Yu Reviewed-by: Haiyue Wang --- drivers/net/ixgbe/ixgbe_flow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/net/ixgbe/ixgbe_flow.c index d539951896..6bc2767ea1 100644 --- a/drivers/net/ixgbe/ixgbe_flow.c +++ b/drivers/net/ixgbe/ixgbe_flow.c @@ -3437,6 +3437,7 @@ ixgbe_flow_destroy(struct rte_eth_dev *dev, TAILQ_REMOVE(&ixgbe_flow_list, ixgbe_flow_mem_ptr, entries); rte_free(ixgbe_flow_mem_ptr); + break; } } rte_free(flow); -- 2.32.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-08-10 15:11:15.293221458 +0200 +++ 0058-net-ixgbe-fix-flow-entry-access-after-freeing.patch 2021-08-10 15:11:13.054638359 +0200 @@ -1 +1 @@ -From 75e4023dd7ad3b37ad2843635b38436d91613c86 Mon Sep 17 00:00:00 2001 +From f9a4c1efae931cdbd9c6afa01a4bda77ae4e1e34 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 75e4023dd7ad3b37ad2843635b38436d91613c86 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index 0b10e91a9b..511b612f7f 100644 +index d539951896..6bc2767ea1 100644