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 931C2A04B5; Thu, 29 Oct 2020 17:10:07 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 80437CB82; Thu, 29 Oct 2020 17:09:56 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id CD1C7CB82 for ; Thu, 29 Oct 2020 17:09:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603987792; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=75eApbCuTjyWMnuzNVm5YhVMV5sj0Bx7oXs49cc8vlU=; b=FigiZ6ou1r2fFfy4hDCtDohwXvb/vBDSBmAb5T2f7Ow+sGf1rKjmrC66hzmR9Q1/BGkKC4 fodQcClzNtG7w9R26KOPrDe5E6O4Ny8SescUTmQ4xGtLOf6u0s9m6/PUN5Ga9iSKse05sz xXqXI9FGJ9Jj/bIi9czTvrXmPUfHXuw= Received: from mail-io1-f70.google.com (mail-io1-f70.google.com [209.85.166.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-587-C1crDQCaOYSJ22-uiJ00eQ-1; Thu, 29 Oct 2020 12:09:50 -0400 X-MC-Unique: C1crDQCaOYSJ22-uiJ00eQ-1 Received: by mail-io1-f70.google.com with SMTP id l12so2268970ioj.1 for ; Thu, 29 Oct 2020 09:09:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=75eApbCuTjyWMnuzNVm5YhVMV5sj0Bx7oXs49cc8vlU=; b=A+d6aZVzMTYS/0b1hb4Lysq3w5ijEr8WNvoRzPziPch5e7Ur3vJiHIeR5BH/V5HXhh f0OKn+3z077BTnRYnWXmyY4Hg0YFqtYD49EJgOmqGGStdEFM3MdDkOhTuFcTC3IKulcB 7/cg0bzC2nc8Z1Kv5RixWnxaNnS/eXBqS0yoyqmI27UCU64JNYFlIVPmVJmRxhOn1UFN vEfZPynJw8wzhkNcT2lZi3IxXd/dXtm3iwf6A+JIXLa5JQZntoNHxlEHOAOVNLvFOHoA FlKqzXWMGPlIJTysfRYTTbzkBnzYxFTausfwJHmIBuGJi0SKjbmThfZD+VjRPTRSU/qz AMXA== X-Gm-Message-State: AOAM531eiDWhBiDwp1jmzKMmHqNY8Q3anOV/H/GpYWrPcv++unGIxmU8 6SeZvb7+icrZXNvKe9NtYqSyTgOGWNpulIfVsjEFEQkBzW+CnAPCcZkr8yLvQSZmwEu8xxfawhU aNFs+LQmRAm9p62J6530= X-Received: by 2002:a92:c5ce:: with SMTP id s14mr3928723ilt.40.1603987789502; Thu, 29 Oct 2020 09:09:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDiYJdFnoSodYpH3+mhsm5aisCa1ydvruzaCopQDAEKPgo22rKVrA2dU6gFs8Y3FimX6ke/hbXHpx/5jsvYFw= X-Received: by 2002:a92:c5ce:: with SMTP id s14mr3928692ilt.40.1603987789057; Thu, 29 Oct 2020 09:09:49 -0700 (PDT) MIME-Version: 1.0 References: <166b4a84232777b5ff3dd5d659140dab104e3f77.1603782481.git.wangyunjian@huawei.com> In-Reply-To: <166b4a84232777b5ff3dd5d659140dab104e3f77.1603782481.git.wangyunjian@huawei.com> From: David Marchand Date: Thu, 29 Oct 2020 17:09:37 +0100 Message-ID: To: wangyunjian Cc: dev , "Wang, Yipeng1" , "Gobriel, Sameh" , Bruce Richardson , Dharmik Thakkar , "Lilijun (Jerry)" , xudingke , dpdk stable Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] hash: fix dereference before null check X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Oct 27, 2020 at 1:52 PM wangyunjian wrote: > > From: Yunjian Wang > > Coverity flags that 'h' variable is used before > it's checked for NULL. This patch fixes this issue. > > Coverity issue: 363625 > Fixes: 769b2de7fb52 ("hash: implement RCU resources reclamation") No need to copy stable, this feature is only in the current release. > Signed-off-by: Yunjian Wang Reviewed-by: Dharmik Thakkar Acked-by: Yipeng Wang Applied, thanks. -- David Marchand