From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A5E7FA04B1 for ; Thu, 5 Nov 2020 10:41:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 80889AC90; Thu, 5 Nov 2020 10:41:39 +0100 (CET) Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by dpdk.org (Postfix) with ESMTP id 024E6AC90 for ; Thu, 5 Nov 2020 10:41:38 +0100 (CET) Received: by mail-wm1-f68.google.com with SMTP id p19so712458wmg.0 for ; Thu, 05 Nov 2020 01:41:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=lnviEMDaHWPczsG+JJsg+igfLGnoZRQSfUn9emldET0=; b=R4yGRzVMdHdxZa6K9I803rzjPISs5jMP//uYVBZSV3j/gppStAMFhmyJ+0d1oK1Elw eGTT2Uw7u5qSfD7wEU2T3pVFQO03GJL+wkPaQx6Si9CWax/FEVahzwmnFwmwCe1rxpWG 9ENxNcuoPur345LviO9nKIqaJCXFyAQBb0huMa0uluUJfZFTyeoNNloPjOH3kpdLsEH8 9cxP9t5jGYF8MuRyvukSTtEeV80hBGbjg/sfn6AeZyFCyPNPujKefwobbtq2NJiYCFCp 44kBrMfIQHFsILU/ImriDMv7MJvWCi/xY6KJBORQa76qc96gKyTyrXouyGKnKopnfVKR V8jw== X-Gm-Message-State: AOAM530+MDXLoULRqlTs8Niq2czmJJWUyI3qYH/EjmFAO72NyM8K7zmS xoLKJx032tyrCjFeNQ8Joss= X-Google-Smtp-Source: ABdhPJzOy4HaccpZCQfTWIWVICD9BECX1uRbS9lVc8IB2EddLBQCBAh4YkwNYc7PLiBu2dbQzVeVaQ== X-Received: by 2002:a7b:cc0e:: with SMTP id f14mr1741725wmh.92.1604569296692; Thu, 05 Nov 2020 01:41:36 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id c8sm1754040wrv.26.2020.11.05.01.41.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Nov 2020 01:41:35 -0800 (PST) Message-ID: <2d202f44984061b7759e9d898cfe5b1fb891f927.camel@debian.org> From: Luca Boccassi To: Xiaoyun wang , stable@dpdk.org Cc: yin.yinshi@huawei.com, zhouguoyang@huawei.com, luoxianjun@huawei.com Date: Thu, 05 Nov 2020 09:41:35 +0000 In-Reply-To: <57e0ebeab5527f8f936e9511eff88d85c1e0ac99.1604478636.git.cloud.wangxiaoyun@huawei.com> References: <57e0ebeab5527f8f936e9511eff88d85c1e0ac99.1604478636.git.cloud.wangxiaoyun@huawei.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH 19.11 v1 1/1] net/hinic: fix filters on memory allocation failure X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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" On Wed, 2020-11-04 at 16:40 +0800, Xiaoyun wang wrote: > [ upstream commit 0c87a15f5f1ccb9eefb6231aea9d095686f2def4 ] >=20 > If rte_zmalloc failed, pmd driver should also delete the ntuple > filter or ethertype filter or normal and tcam filter that already > added before. >=20 > Fixes: d7964ce192e7 ("net/hinic: check memory allocations in flow creatio= n") >=20 > Signed-off-by: Xiaoyun wang > --- > drivers/net/hinic/hinic_pmd_flow.c | 7 +++++++ > 1 file changed, 7 insertions(+) Acked-by: Luca Boccassi Thanks, applied and pushed. --=20 Kind regards, Luca Boccassi