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 167CEA0C4C for ; Mon, 12 Jul 2021 15:15:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1049340685; Mon, 12 Jul 2021 15:15:46 +0200 (CEST) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mails.dpdk.org (Postfix) with ESMTP id A1AA240685 for ; Mon, 12 Jul 2021 15:15:44 +0200 (CEST) Received: by mail-wr1-f45.google.com with SMTP id k4so19255162wrc.8 for ; Mon, 12 Jul 2021 06:15:44 -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=T8GkUG5TjjyIJyVZxcr50k3tO/z+QcWdNzgtqqTpJrI=; b=FisJP1uVkU4VnRfh1rCN7O2E36g2PtolS4f6wLqCMC3yhxspE4iYxw+NmuprmAq/Cc fl463fyjzowcyh8CGEqS7Ed1POKWEwmLzVM+x37fRnIi0dwIJL5U3YzOgL/n3oKu6rfX +s20TP1xfTx0QJiCqhwy23bOXvBP/lC5bLVv+7mDIcS7fSMHW9kO4ukXdUTCGhHvlhni DH8yVshN96SyZPSlvVNofiPtX0Tykk5XSsdZU2lBgDJBVWwBzKC3sETboQ6PZo8zRvDm IzCryTRLmeT7jFBrlXsLV53/z5cTrWEz+5z/NTA0booBwGS7EpaA1fFNLFYla2MDv134 +6oQ== 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=T8GkUG5TjjyIJyVZxcr50k3tO/z+QcWdNzgtqqTpJrI=; b=Y5c97eYFuqUkODcXnzEoPOItkWX352la95f3ixvT1H9VTUTEtrxZhAxpZ9x4d9vG2y 0LHJQj8qZZFmYf9BpPbGAUWDBd29psMnz0D6C28ElWcCc5sUrp4XZM9vtWShLkrLDa1l E4TdAmUsRjhd9b+Aym1UCdbtzaWlkn57fmhuVtsfLB/awJflkFK6sXtNkHlsFj4YghQM I5PlFTVgvyRR6LalgGNro6vmruxDEstbXfvycnjlP99nckKuyHxex3lZNj+2x73qOEJE l2SXYJab9YTT71g+PjZWALUN6Txydu6hzFZlF0NtCduyP2Q65WQj1fhwk7c7gu3fWZ6V yy/w== X-Gm-Message-State: AOAM533u/GUsaFOqib/APCsC9fo95eEVV7Rt/H0oxypUEQJcBgk4U4mR pkz92HFozBKiJOXmkrko82s= X-Google-Smtp-Source: ABdhPJxF1KiFVCt62vVXxND0Y27NK3o8GB8URt0aNqY1qGm3t0r97QSn0pJOZ1wM+bhkO5uwUAQMqw== X-Received: by 2002:a5d:6849:: with SMTP id o9mr21707576wrw.250.1626095744471; Mon, 12 Jul 2021 06:15:44 -0700 (PDT) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id a10sm14368134wrm.12.2021.07.12.06.15.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 06:15:44 -0700 (PDT) From: luca.boccassi@gmail.com To: Dapeng Yu Cc: Haiyue Wang , dpdk stable Date: Mon, 12 Jul 2021 14:05:41 +0100 Message-Id: <20210712130551.2462159-106-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210712130551.2462159-1-luca.boccassi@gmail.com> References: <20210712130551.2462159-1-luca.boccassi@gmail.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 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/14/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/886db80ef262676f14e4ff2379917ee428d142f3 Thanks. Luca Boccassi --- >From 886db80ef262676f14e4ff2379917ee428d142f3 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 9aeb2e4a49..89972bad02 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.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-07-12 13:41:42.120057105 +0100 +++ 0106-net-ixgbe-fix-flow-entry-access-after-freeing.patch 2021-07-12 13:41:36.914131443 +0100 @@ -1 +1 @@ -From 75e4023dd7ad3b37ad2843635b38436d91613c86 Mon Sep 17 00:00:00 2001 +From 886db80ef262676f14e4ff2379917ee428d142f3 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 9aeb2e4a49..89972bad02 100644