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 7DDE3A0032; Thu, 12 May 2022 12:30:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7104840E64; Thu, 12 May 2022 12:30:46 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 7E6FF4014F for ; Thu, 12 May 2022 12:30:44 +0200 (CEST) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 0DD4182; Thu, 12 May 2022 13:30:43 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 0DD4182 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1652351444; bh=Nj3ozi5reHNBs0fV27qY/L+0urpBXfpSBhdCU6aTvSk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ritlxGK1Lrg9KOvGJm06IrWglU7VjViBcUTE/Xpo9p49q7NowYh5dz2vhseqCQeVA XHSqcRXxktF95KIs4dyd4xDXZIYZM2M9nVoXfkahROUnHz4mP6FI7AjlpjGyiUNBec vWSWS3lWC+5FuxEKBu5OkFGVfJ1bwBrD9+pR6isk= Message-ID: <9c411025-3dbc-12a1-6a59-cecc70bc1c3b@oktetlabs.ru> Date: Thu, 12 May 2022 13:30:43 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH v3 10/10] net/cnxk: fix telemetry possible null pointer access Content-Language: en-US To: Chengwen Feng , thomas@monjalon.net, ferruh.yigit@xilinx.com, ndabilpuram@marvell.com, kirankumark@marvell.com, skori@marvell.com, skoteshwar@marvell.com Cc: mb@smartsharesystems.com, stephen@networkplumber.org, dev@dpdk.org References: <20220416010747.40714-1-fengchengwen@huawei.com> <20220505080233.12737-1-fengchengwen@huawei.com> <20220505080233.12737-11-fengchengwen@huawei.com> From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20220505080233.12737-11-fengchengwen@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 5/5/22 11:02, Chengwen Feng wrote: > The return value of rte_tel_data_alloc() may be null pointer, in this > patch, the null check function is added. > > Fixes: 5ea354a1f2cc ("net/cnxk: support telemetry") > Cc: stable@dpdk.org > > Signed-off-by: Chengwen Feng Reviewed-by: Andrew Rybchenko