From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/qede:fix the bug about pointer params may NULL Date: Mon, 28 Aug 2017 13:42:43 +0100 Message-ID: References: <1503558753-8545-1-git-send-email-xie.rongqiang@zte.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" To: "Patil, Harish" , Rongqiang XIE , "Mody, Rasesh" Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 8007F137C for ; Mon, 28 Aug 2017 14:42:46 +0200 (CEST) In-Reply-To: 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 8/25/2017 7:43 PM, Patil, Harish wrote: <..>> > Subject: [dpdk-dev] [PATCH] net/qede:fix the bug about pointer params > may NULL > >> In function qede_rss_reta_update(),the pointer params returned from >> call to function rte_zmalloc() may be NULL and will be dereferenced. >> So, should judge the params is NULL or not. Fixes: 8b3ee85efe11 ("net/qede: fix RSS table entries for 100G adapter") Cc: stable@dpdk.org >> >> Signed-off-by: Rongqiang XIE >> Acked-by: Harish Patil Applied to dpdk-next-net/master, thanks.