From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/mvpp2: check pointer before using it Date: Tue, 5 Jun 2018 17:17:28 +0100 Message-ID: <5835d9cc-13da-0831-ff5c-fec345c4bc33@intel.com> References: <1528104268-6179-1-git-send-email-tdu@semihalf.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: nsamsono@marvell.com, jianbo.liu@arm.com, dima@marvell.com, mw@semihalf.com To: Tomasz Duszynski , dev@dpdk.org Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 5C1B3D4A8 for ; Tue, 5 Jun 2018 18:17:32 +0200 (CEST) In-Reply-To: <1528104268-6179-1-git-send-email-tdu@semihalf.com> Content-Language: en-US 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 6/4/2018 10:24 AM, Tomasz Duszynski wrote: > Avoid NULL dereference by checking pointer before using it. > > Note that the fixes tag is before the driver was renamed > to mvpp2, so the patch will not apply that far back. > > Fixes: 3588aaa68eab ("net/mrvl: fix HIF objects allocation") > > Signed-off-by: Tomasz Duszynski Applied to dpdk-next-net/master, thanks.