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 46F9FA0A0F for ; Tue, 29 Jun 2021 10:27:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 37E9841190; Tue, 29 Jun 2021 10:27:55 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id A8B6840E01; Tue, 29 Jun 2021 10:27:53 +0200 (CEST) Received: from [192.168.1.71] (unknown [188.170.72.30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id DC7587F463; Tue, 29 Jun 2021 11:27:52 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru DC7587F463 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1624955273; bh=Bv7sQb4M/PJH5WpSjjw2x2lGB5arVTMTbWsw+oPrTG8=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=aUuYqaSPWu4dA7nY3SrYAyV+OywmpmyIxcvARAIQQ4PKKuRGIWjMizWI6JzpG1KWG 3KMsY79qDBYqPRkGVl7vPvSv1Ac58Kt1ex0aWKOFh8u1n1ccSabKANHSD7u6LmIBNP dzlqWz75cRob9QoFSmzWa/Xy5OloAJVaFIcswH80= To: Gagandeep Singh , Thierry Herbelot , "dev@dpdk.org" Cc: Thomas Monjalon , "stable@dpdk.org" References: <20210524085917.16254-1-thierry.herbelot@6wind.com> <20210524093754.21046-1-thierry.herbelot@6wind.com> From: Andrew Rybchenko Message-ID: <1a8a0229-bf72-9b9e-5790-119f001ed320@oktetlabs.ru> Date: Tue, 29 Jun 2021 11:27:51 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2] net/pfe: no need to check dev to be NULL Pointer 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" On 5/24/21 1:28 PM, Gagandeep Singh wrote: > > >> -----Original Message----- >> From: Thierry Herbelot >> Sent: Monday, May 24, 2021 3:08 PM >> To: dev@dpdk.org >> Cc: Thierry Herbelot ; Thomas Monjalon >> ; stable@dpdk.org; Gagandeep Singh >> >> Subject: [PATCH v2] net/pfe: no need to check dev to be NULL Pointer >> >> librte_ethdev library is already doing some checks on dev before calling >> the link update. >> >> Fixes: acd4818ea2a45 ("net/pfe: add link status update") >> Cc: stable@dpdk.org >> Cc: Gagandeep Singh >> >> Signed-off-by: Thierry Herbelot >> -- >> V2: rework after noting dev cannot be NULL >> --- > > Acked-by: Gagandeep Singh Applied, thanks.